html - 尝试使用高音扬声器数据加载 HDFS 时出错

标签 html hadoop flume

即使我提供了正确的 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/

相关文章:

Hadoop:作业如何发送到 master 和 MapReduce 上的节点?

hadoop - 如何在HDFS上写入缓冲图像

hadoop - 使用flume将数据存储到linux本地目录

php - 下拉数据未发送到 $_POST php

html - 替代跨度

html - 使用 <div> 和 <ul>/<li> 创建子菜单

hadoop - Hive:查找前 20% 的记录

apache-kafka - 弗拉夫卡 : How to write into partitoined Kafka topic (channels) which is partitioned on msg type through Flume agent

java - 在集群上启动和停止 apache flume 代理

javascript - 通过单击按钮更改 div 中的内容