<?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: Benchmark test ouput file permission denied (TestDFSIO_results.log ) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Benchmark-test-ouput-file-permission-denied-TestDFSIO/m-p/64380#M73735</link>
    <description>&lt;P&gt;I just solved this issue by starting the command while I was in /tmp. The problem was the user of the hadoop jar job (hdfs) did not have sufficient rights to write to the local system. When executing from /tmp/ the output file with the results was correctly produced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this can help others in the future!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 10:32:16 GMT</pubDate>
    <dc:creator>JB0000000000001</dc:creator>
    <dc:date>2018-02-06T10:32:16Z</dc:date>
    <item>
      <title>Benchmark test ouput file permission denied (TestDFSIO_results.log )</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Benchmark-test-ouput-file-permission-denied-TestDFSIO/m-p/63885#M73734</link>
      <description>&lt;P&gt;Dear Community,&lt;BR /&gt;I am running a well-known benchmark test to measure the I/O of my cluster using the hadoop-test-2.6.0-mr1-cdh5.13.0.jar using the TestDFSIO test. Normally the ouput should be written to TestDFSIO_results.log in the current folder of the bash (not hdfs) where I run the command. THis is in my case just my home folder.&lt;BR /&gt;I am running the command as follows:&lt;BR /&gt;sudo -u hdfs hadoop jar /opt/cloudera/parcels/CDH/jars/hadoop-test-2.6.0-mr1-cdh5.13.0.jar TestDFSIO -zrite -nrFiles 2 -size 100MB.&lt;BR /&gt;As it seems I need to run the job with the hdfs user, I have changed the permission of the default output file to 777 and set the owner and group to hdfs, but also this does not help (also previously when my own user was the owner it did not work).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for any help!!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 16:21:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Benchmark-test-ouput-file-permission-denied-TestDFSIO/m-p/63885#M73734</guid>
      <dc:creator>JB0000000000001</dc:creator>
      <dc:date>2018-01-22T16:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Benchmark test ouput file permission denied (TestDFSIO_results.log )</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Benchmark-test-ouput-file-permission-denied-TestDFSIO/m-p/64380#M73735</link>
      <description>&lt;P&gt;I just solved this issue by starting the command while I was in /tmp. The problem was the user of the hadoop jar job (hdfs) did not have sufficient rights to write to the local system. When executing from /tmp/ the output file with the results was correctly produced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this can help others in the future!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:32:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Benchmark-test-ouput-file-permission-denied-TestDFSIO/m-p/64380#M73735</guid>
      <dc:creator>JB0000000000001</dc:creator>
      <dc:date>2018-02-06T10:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Benchmark test ouput file permission denied (TestDFSIO_results.log )</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Benchmark-test-ouput-file-permission-denied-TestDFSIO/m-p/268714#M73736</link>
      <description>&lt;P&gt;The&amp;nbsp;directory /benchmarks is owned as "hdfs:superuser"&lt;/P&gt;&lt;P&gt;If you run the benchmark job with user hdfs, it wont run as hdfs is a banned user in Yarn configuration for container executor snippet.&lt;/P&gt;&lt;P&gt;what you need to do is to change the permission of "/benchmarks" as your custom user using hdfs token. Then you would be able to run the benchmarks job without any issue.&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;hadoop fs -chown -R user02:user02 /benchmarks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;hadoop fs -ls /benchmarks&lt;BR /&gt;Found 1 items&lt;BR /&gt;drwxr-xr-x&amp;nbsp;&amp;nbsp; - user02 user02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2019-08-22 15:55 /benchmarks/TestDFSIO&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;------&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2019 16:03:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Benchmark-test-ouput-file-permission-denied-TestDFSIO/m-p/268714#M73736</guid>
      <dc:creator>doonaks</dc:creator>
      <dc:date>2019-08-22T16:03:24Z</dc:date>
    </item>
  </channel>
</rss>

