<?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 Extraction of image files using talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extraction-of-image-files-using-talend/m-p/2363923#M127731</link>
    <description>Hi,&lt;BR /&gt;&amp;nbsp; I want to extract JPEG files using talend and then store it to HDFS and to hive external table. Is it possible.? What Datatype should i use? how to proceed?&lt;BR /&gt;Thanks in advance..</description>
    <pubDate>Wed, 05 Aug 2015 13:27:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-05T13:27:27Z</dc:date>
    <item>
      <title>Extraction of image files using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extraction-of-image-files-using-talend/m-p/2363923#M127731</link>
      <description>Hi,&lt;BR /&gt;&amp;nbsp; I want to extract JPEG files using talend and then store it to HDFS and to hive external table. Is it possible.? What Datatype should i use? how to proceed?&lt;BR /&gt;Thanks in advance..</description>
      <pubDate>Wed, 05 Aug 2015 13:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extraction-of-image-files-using-talend/m-p/2363923#M127731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-05T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction of image files using talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extraction-of-image-files-using-talend/m-p/2363924#M127732</link>
      <description>I think maybe you can read the binary content of each file in Talend to String, so use tFileList to list file -&amp;gt; and then some tFileInputRaw. Then you store it by tHDFSOutput component.&lt;BR /&gt;The pure Java way here is quite straight forward:&lt;BR /&gt;&lt;PRE&gt;try{&lt;BR /&gt;    Path pt=new Path("hdfs:/jp./myserver.com:9000/user/someuser/out/somepath");&lt;BR /&gt;    FileSystem fs = FileSystem.get(new Configuration());&lt;BR /&gt;    BufferedWriter br=new BufferedWriter(new OutputStreamWriter(fs.create(pt,true)));&lt;BR /&gt;    // TO append data to a file, use fs.append(Path f)&lt;BR /&gt;    String line;&lt;BR /&gt;    line="This is BINARY content fo JPEG in String form";&lt;BR /&gt;    System.out.println(line);&lt;BR /&gt;    br.write(line);&lt;BR /&gt;    br.close();&lt;BR /&gt;}catch(Exception e){&lt;BR /&gt;	System.out.println("File not found");&lt;BR /&gt;}&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2015 13:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extraction-of-image-files-using-talend/m-p/2363924#M127732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-06T13:57:22Z</dc:date>
    </item>
  </channel>
</rss>

