<?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: REST API command to upload Tez tar files in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375333#M242401</link>
    <description>&lt;P&gt;After looking some more in the forums, I realise that to do this I can enable WebHDFS and use the Snakebite library. However, that's not how i will go about this.&lt;BR /&gt;I'm trying to get it working using hdfs in the command line, but so far I'm not being able to replicate what the UI does. I will report back when I have a working solution. (sorry for the edits)&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2023 17:59:47 GMT</pubDate>
    <dc:creator>aggo</dc:creator>
    <dc:date>2023-08-17T17:59:47Z</dc:date>
    <item>
      <title>REST API command to upload Tez tar files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375257#M242356</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to upload the tez tar files using a rest api command, but I'm not able to find any in the swagger documentation (maybe I just missed it..)&lt;BR /&gt;&lt;BR /&gt;I've tried replicating the url that is pointed at when using the button through the UI, but I require the Tez service ID for it, and I couldn't find an API call to get that neither..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there an easier way to do this perhaps? Or if you know about one of the api calls I'm missing from the swagger docs mentioned above, that would help me as well.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 12:33:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375257#M242356</guid>
      <dc:creator>aggo</dc:creator>
      <dc:date>2023-08-16T12:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to upload Tez tar files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375278#M242369</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106531"&gt;@aggo&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our Tez experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70785"&gt;@Shmoo&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/38161"&gt;@cravani&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 17:36:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375278#M242369</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-08-16T17:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to upload Tez tar files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375333#M242401</link>
      <description>&lt;P&gt;After looking some more in the forums, I realise that to do this I can enable WebHDFS and use the Snakebite library. However, that's not how i will go about this.&lt;BR /&gt;I'm trying to get it working using hdfs in the command line, but so far I'm not being able to replicate what the UI does. I will report back when I have a working solution. (sorry for the edits)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 17:59:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375333#M242401</guid>
      <dc:creator>aggo</dc:creator>
      <dc:date>2023-08-17T17:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: REST API command to upload Tez tar files</title>
      <link>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375360#M242419</link>
      <description>&lt;LI-CODE lang="markup"&gt;tez_version="0.9.1.7.1.3.0-100"                                                              
export HADOOP_USER_NAME=hdfs                                                                 
hdfs dfs -mkdir -p /user/tez/$tez_version                                                    
hdfs dfs -chown tez:hadoop /user/tez/$tez_version                                            
hdfs dfs -chmod 0755 /user/tez/$tez_version                                                  
hdfs dfs -put /opt/cloudera/parcels/CDH/lib/tez/tez.tar.gz /user/tez/$tez_version/tez.tar.gz 
hdfs dfs -chown tez:hadoop /user/tez/$tez_version/tez.tar.gz                                 
hdfs dfs -chmod 0644 /user/tez/$tez_version/tez.tar.gz                                       &lt;/LI-CODE&gt;&lt;P&gt;These are the commands I ended up using.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 11:48:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/REST-API-command-to-upload-Tez-tar-files/m-p/375360#M242419</guid>
      <dc:creator>aggo</dc:creator>
      <dc:date>2023-08-18T11:48:02Z</dc:date>
    </item>
  </channel>
</rss>

