<?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 Re: How to delete a hdfs path with special character dollar sign in the path. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/m-p/222882#M84540</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/87208/kallinarendrareddy.html" nodeid="87208"&gt;@NARENDRA KALLI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try with escaping &lt;STRONG&gt;double back slash(\\)&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;$ hadoop fs -rm -r /hdfspath/test/\\$\\{\\db\\}&lt;/PRE&gt;</description>
    <pubDate>Wed, 24 Oct 2018 04:41:13 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2018-10-24T04:41:13Z</dc:date>
    <item>
      <title>How to delete a hdfs path with special character dollar sign in the path.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/m-p/222881#M84539</link>
      <description>&lt;P&gt;I have created a external table in this path with missing parameter value like below (Hortonworks)&lt;BR /&gt;&lt;BR /&gt;/hdfspath/test/${db} &lt;BR /&gt;/hdfspath/test/table1 &lt;BR /&gt;/hdfspath/test/table2&lt;BR /&gt;/hdfspath/test/table3&lt;/P&gt;&lt;P&gt;I need to delete the 1st path from the hdfs, but when I tried to use a hadoop fs -rm -r /hdfspath/test/${db}&lt;BR /&gt;I am getting an error message : No Such directory.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 03:29:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/m-p/222881#M84539</guid>
      <dc:creator>narendra_kalli</dc:creator>
      <dc:date>2018-10-24T03:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a hdfs path with special character dollar sign in the path.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/m-p/222882#M84540</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/87208/kallinarendrareddy.html" nodeid="87208"&gt;@NARENDRA KALLI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try with escaping &lt;STRONG&gt;double back slash(\\)&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;$ hadoop fs -rm -r /hdfspath/test/\\$\\{\\db\\}&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Oct 2018 04:41:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/m-p/222882#M84540</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-10-24T04:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete a hdfs path with special character dollar sign in the path.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/m-p/222883#M84541</link>
      <description>&lt;P&gt;Thanks for the quick response &lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt;, It worked fine, and I am able to remove the path.&lt;/P&gt;&lt;P&gt;Earlier, as I am getting the error that I mentioned in the post, I tried the other way as to delete the whole test path by excluding the directories that I need. I tried this long back I remember it worked fine, but unable to find the command now.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 04:55:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/m-p/222883#M84541</guid>
      <dc:creator>narendra_kalli</dc:creator>
      <dc:date>2018-10-24T04:55:21Z</dc:date>
    </item>
  </channel>
</rss>

