<?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: Passing Context Variables in BigData Spark Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313242#M84116</link>
    <description>Hello&lt;BR /&gt;&lt;BR /&gt;Have you some news about this topic ? I have the same problem to iterate several files with a variable name in the tfileinputdelimited .&lt;BR /&gt;&lt;BR /&gt;Thanks for the help...&lt;BR /&gt;&lt;BR /&gt;Tiago</description>
    <pubDate>Fri, 09 Nov 2018 17:19:09 GMT</pubDate>
    <dc:creator>torradot</dc:creator>
    <dc:date>2018-11-09T17:19:09Z</dc:date>
    <item>
      <title>Passing Context Variables in BigData Spark Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313239#M84113</link>
      <description>&lt;P&gt;Hi Team&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have designed a Job to convert csv file to parquet format as shown in pic&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 480px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lrdr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139661i502D5D7E96DAF7C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lrdr.png" alt="0683p000009Lrdr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In tfileinputdelimited i am using context variable to define file path&lt;/P&gt; 
&lt;P&gt;i am getting following error stating No input path specified&lt;/P&gt; 
&lt;P&gt;cant we parameterise BigDataSpark Job.&lt;/P&gt; 
&lt;P&gt;How this can be resolved. Do we have any other approch&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;please help me out.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ErrorMessage&lt;/P&gt; 
&lt;P&gt;par_dir_name...HR Services Action Report 02.07.2016.csv&lt;BR /&gt;[ERROR]: org.apache.spark.sql.execution.datasources.InsertIntoHadoopFsRelationCommand - Aborting job.&lt;BR /&gt;&lt;STRONG&gt;java.io.IOException: No input paths specified in job&lt;/STRONG&gt;&lt;BR /&gt;at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:201)&lt;BR /&gt;at org.talend.hadoop.mapred.lib.file.TDelimitedFileInputFormat.listStatus(TDelimitedFileInputFormat.java:70)&lt;BR /&gt;at org.talend.hadoop.mapred.lib.file.TDelimitedFileInputFormat.getSplits(TDelimitedFileInputFormat.java:96)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313239#M84113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Context Variables in BigData Spark Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313240#M84114</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Can you successfully execute your spark job when use your file path directly in tfileinputdelimited component without context variables?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 07:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313240#M84114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-06T07:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Context Variables in BigData Spark Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313241#M84115</link>
      <description>&lt;P&gt;Hi Sabrina,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the same. Context load component does not work in a spark batch job.&lt;/P&gt;&lt;P&gt;the hard coded path to files and directories work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Badri Nair&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 15:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313241#M84115</guid>
      <dc:creator>badri-nair</dc:creator>
      <dc:date>2018-06-12T15:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Context Variables in BigData Spark Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313242#M84116</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;Have you some news about this topic ? I have the same problem to iterate several files with a variable name in the tfileinputdelimited .&lt;BR /&gt;&lt;BR /&gt;Thanks for the help...&lt;BR /&gt;&lt;BR /&gt;Tiago</description>
      <pubDate>Fri, 09 Nov 2018 17:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313242#M84116</guid>
      <dc:creator>torradot</dc:creator>
      <dc:date>2018-11-09T17:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Context Variables in BigData Spark Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313243#M84117</link>
      <description>&lt;P&gt;We have the exact same issue, I would welcome any feedback on this at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hardcoded values in the tFileInputDelimited work fine, but the minute I want the filename to be a context variable, the job fails with a not found error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even if we have the tFileInputDelimited path as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"C:\test\" + context.foldername + "\file.csv"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the Spark job fails with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: C:\test\file.csv&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 11:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-Context-Variables-in-BigData-Spark-Job/m-p/2313243#M84117</guid>
      <dc:creator>How1</dc:creator>
      <dc:date>2019-01-28T11:58:36Z</dc:date>
    </item>
  </channel>
</rss>

