即使我提供了正确的 key 和 token ,我也遇到了错误。
我正在尝试将数据从高音扬声器加载到 HDFS....
我输入了正确的 key 和 token (我不能在这里共享 key 和 token ,但我保证它们是正确的)。
请帮助我理解:
15/06/29 21:39:53 INFO twitter4j.TwitterStreamImpl:401:Authentication credentials (https://dev.twitter.com/docs/auth) were missing or incorrect. Ensure that you have set valid consumer key/secret, access token/secret, and the system clock is in sync.
<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\n<title>Error 401 Unauthorized</title>
</head>
<h2>HTTP ERROR: 401</h2>
<p>Problem accessing '/1/statuses/filter.json'. Reason:
<pre> Unauthorized</pre>
最佳答案
这是由于时钟不同步而发生的:
当我运行以下命令时它已解决:
sudo ntpdate ntp.ubuntu.com
关于html - 尝试使用高音扬声器数据加载 HDFS 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31120927/