<?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>topic Re: tHiveLoad giving Error Failed execution return code 1 from MoveTask in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHiveLoad-giving-Error-Failed-execution-return-code-1-from/m-p/2228460#M19727</link>
    <description>Was able to change the file permissions for source to 777 and get the destination directory to be 777 as well. Still getting this error. What I get in the log is: 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;Exception in component tHiveLoad_1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException : Line 1:17 Path is not legal ''/tmp/AccountExternalTmp.txt'': Move from: hdfs://actualHostName/tmp/AccountExternalTmp.txt to: hdfs://nameservice1/user/hive/warehouse/salesforce_grabenstein.db/account_external is not valid. Please check that values for params "default.fs.name" and "hive.metastore.warehouse.dir" do not conflict.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;The nameservice1 is not part of my job. I have put in the actual host name for that in all places I could find.&amp;nbsp; 
&lt;BR /&gt;Thanks.</description>
    <pubDate>Tue, 01 Mar 2016 20:28:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-01T20:28:10Z</dc:date>
    <item>
      <title>tHiveLoad giving Error Failed execution return code 1 from MoveTask</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHiveLoad-giving-Error-Failed-execution-return-code-1-from/m-p/2228459#M19726</link>
      <description>I have Talend connecting to Hive and creating a table for me. I am trying to use tHiveLoad to load a Textfile output from a relational DB to my Hive Table. tHiveLoad gives me: 
&lt;BR /&gt;Java.sql.SQLexecution: Error while processing statement: Failed: Execution Error: return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask 
&lt;BR /&gt;The Hiveserver2 is running as user hive. For security reasons I am not allowed to log in as the hive User. My cluster log id has been granted privileges to create DB and tables.&amp;nbsp; 
&lt;BR /&gt;The Hive log shows: 
&lt;BR /&gt;Unable to move source hdfs://blah/blah.txt to destination hdfs://foo/foo.txt 
&lt;BR /&gt;The directory for the destination is: 775 and owned by hive:hive. Again, I am not allowed to connect with the hive account. 
&lt;BR /&gt;Is there a way to make tHiveLoad work ? 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 10:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHiveLoad-giving-Error-Failed-execution-return-code-1-from/m-p/2228459#M19726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: tHiveLoad giving Error Failed execution return code 1 from MoveTask</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHiveLoad-giving-Error-Failed-execution-return-code-1-from/m-p/2228460#M19727</link>
      <description>Was able to change the file permissions for source to 777 and get the destination directory to be 777 as well. Still getting this error. What I get in the log is: 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;Exception in component tHiveLoad_1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier"&gt;org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException : Line 1:17 Path is not legal ''/tmp/AccountExternalTmp.txt'': Move from: hdfs://actualHostName/tmp/AccountExternalTmp.txt to: hdfs://nameservice1/user/hive/warehouse/salesforce_grabenstein.db/account_external is not valid. Please check that values for params "default.fs.name" and "hive.metastore.warehouse.dir" do not conflict.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;The nameservice1 is not part of my job. I have put in the actual host name for that in all places I could find.&amp;nbsp; 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 01 Mar 2016 20:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHiveLoad-giving-Error-Failed-execution-return-code-1-from/m-p/2228460#M19727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T20:28:10Z</dc:date>
    </item>
  </channel>
</rss>

