虽然我正在“成功”命令历史表中的状态,数据没有移动

发布于 2024-12-12 11:35:11 字数 220 浏览 4 评论 0原文

谁能告诉我如何验证我的数据是否到达指定位置?我能够成功发出命令,但无法看到数据...我正在尝试将我的数据从本地磁盘移动到以下位置的文件本地磁盘本身。我正在使用以下配置 - 主机:文本(“/home/hadoop/file1.txt”)| agentSink("本地主机",35853); 节点2:收集器源(35853)| CollectorSink("file:///home/hadoop/","file2.txt");

Could anyone tell me how to verify whether my data is reaching the specified location or not??I am able to issue the command successfully but unable to see the data...i am trying to move my data from local disk to a file in the local disk itself.i am using the following configuration -
host : text("/home/hadoop/file1.txt") | agentSink("localhost",35853);
node2 : collectorSource(35853) | collectorSink("file:///home/hadoop/","file2.txt");

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一笑百媚生 2024-12-19 11:35:11

很难准确地说:

  1. 确保端口 35853 已打开
  2. 我猜 Node2 与代理位于同一台机器上(因为您将代理配置为 localhost)
  3. 我将 agentSink 更改为控制台(暂时)只是为了确保文件读取是否正确
  4. 使用 apache-flume 用户邮件列表:-) 我发现他们非常敏感且乐于助人

it's hard to tell exactly:

  1. make sure port 35853 is open
  2. I guess node2 is on the same machine as the agent (cause you configured the agent to localhost)
  3. I'd change the agentSink to console (temporarily) just to make sure the file reading is woking properly
  4. use apache-flume users mailing list :-) I found them very responsive and helpful
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文