<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How to delete a file in HDFS which is in different cluster? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-file-in-HDFS-which-is-in-different-cluster/m-p/116110#M26190</link>
    <description>&lt;P&gt;I am creating a workflow in which I need to delete some HDFS files which are in a different cluster. Below is the command that i have tried&lt;/P&gt;&lt;PRE&gt;clusterA-ip ] $ hdfs dfs -rm hdfs://clusterB-ip:8888/path/to/the/file.txt&lt;/PRE&gt;&lt;P&gt;But this is not working. Could you please help?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2016 13:37:52 GMT</pubDate>
    <dc:creator>Alexraj84</dc:creator>
    <dc:date>2016-04-26T13:37:52Z</dc:date>
    <item>
      <title>How to delete a file in HDFS which is in different cluster?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-file-in-HDFS-which-is-in-different-cluster/m-p/116110#M26190</link>
      <description>&lt;P&gt;I am creating a workflow in which I need to delete some HDFS files which are in a different cluster. Below is the command that i have tried&lt;/P&gt;&lt;PRE&gt;clusterA-ip ] $ hdfs dfs -rm hdfs://clusterB-ip:8888/path/to/the/file.txt&lt;/PRE&gt;&lt;P&gt;But this is not working. Could you please help?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 13:37:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-file-in-HDFS-which-is-in-different-cluster/m-p/116110#M26190</guid>
      <dc:creator>Alexraj84</dc:creator>
      <dc:date>2016-04-26T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a file in HDFS which is in different cluster?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-file-in-HDFS-which-is-in-different-cluster/m-p/116111#M26191</link>
      <description>&lt;P&gt;Finally I fixed it. Thanks @Emil.&lt;/P&gt;&lt;P&gt;The command was right but I was using the wrong IP address. I was using HUE's ip as clusterB ip. I replaced it with the namenode ip and it has worked. 
&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 11:48:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-file-in-HDFS-which-is-in-different-cluster/m-p/116111#M26191</guid>
      <dc:creator>Alexraj84</dc:creator>
      <dc:date>2016-04-27T11:48:57Z</dc:date>
    </item>
  </channel>
</rss>

