<?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: How to join multiple csv files in folder to one output file? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181380#M73173</link>
    <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;thank you. Two questions:&lt;/P&gt;&lt;P&gt;1. Is there a way to merge the files directly on HDFS, or do you need to merge to local file system then put back on HDFS?&lt;/P&gt;&lt;P&gt;2. I followed your instructions but on point no. 4 I used:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -getmerge /user/maria_dev/Folder1/* /Folder1/output.csv&lt;/PRE&gt;&lt;P&gt;I have a folder called Folder1 on HDFS and it is also the same folder on local system, but got the same error:&lt;/P&gt;&lt;PRE&gt;getmerge: Mkdirs failed to create file:/Folder1 (exists=false, cwd=file:/home/maria_dev)&lt;/PRE&gt;&lt;P&gt;Not sure why this occurred. Have I missed a step or typed incorrectly?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jan 2018 08:53:48 GMT</pubDate>
    <dc:creator>mmay14</dc:creator>
    <dc:date>2018-01-07T08:53:48Z</dc:date>
    <item>
      <title>How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181377#M73170</link>
      <description>&lt;P&gt;How can I now join all the files in one folder to one single csv file?&lt;/P&gt;&lt;P&gt;I have a folder called Folder1 and I want to combine them all to a file called "output.csv".&lt;/P&gt;&lt;P&gt;I tried: &lt;/P&gt;
&lt;PRE&gt;hadoop fs -getmerge Folder1 /user/maria_dev/output.csv&lt;/PRE&gt;&lt;P&gt;But I get the error:&lt;/P&gt;
&lt;PRE&gt;getmerge: Mkdirs failed to create file:/user/maria_dev (exists=false, cwd=file:/home/maria_dev)&lt;/PRE&gt;&lt;P&gt;I also tried:&lt;/P&gt;&lt;PRE&gt;hadoop fs -cat Folder1 /output.csv &lt;/PRE&gt;&lt;P&gt;But receive error: No such file or directory.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:42:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181377#M73170</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2022-09-16T12:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181378#M73171</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The "getmerge" command will take assume "Folder1" as HDFS Source directory and then second argument "/user/maria_dev/" as Local filesystem Destination directory and hence you will see this error..&lt;/P&gt;&lt;P&gt;Here is a complete example which will help in understanding "&lt;STRONG&gt;getmerge&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[-getmerge [-nl]   &amp;lt;src&amp;gt;   &amp;lt;localdst&amp;gt;]&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;1. I have 3 Files in Sandbox as following:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ cat /tmp/aa.txt
aa
[maria_dev@sandbox ~]$ cat /tmp/bb.txt
bb
[maria_dev@sandbox ~]$ cat /tmp/cc.txt
cc&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;2. I have placed those files to HDFS "/user/maria_dev/test" directory as following:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ hdfs dfs -mkdir /user/maria_dev/test
[maria_dev@sandbox ~]$ hdfs dfs -put /tmp/aa.txt /user/maria_dev/test
[maria_dev@sandbox ~]$ hdfs dfs -put /tmp/bb.txt /user/maria_dev/test
[maria_dev@sandbox ~]$ hdfs dfs -put /tmp/cc.txt /user/maria_dev/test&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;3. Following files are now present on HDFS.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ hdfs dfs -ls /user/maria_dev/test
Found 3 items
-rw-r--r--  1 maria_dev hadoop  3 2018-01-05 23:39 /user/maria_dev/test/aa.txt
-rw-r--r--  1 maria_dev hadoop  3 2018-01-05 23:39 /user/maria_dev/test/bb.txt
-rw-r--r--  1 maria_dev hadoop  3 2018-01-05 23:39 /user/maria_dev/test/cc.txt&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;4. Now doing a "getmerge" as following. Following command will Merge the contents of all the files present in "/user/maria_dev/test/" HDFS directory to the ("local Filesystem") "/tmp/test.txt" file.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ hdfs dfs -getmerge /user/maria_dev/test/* /tmp/test.txt
[maria_dev@sandbox ~]$ cat /tmp/test.txt 
aa
bb
cc&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5. Now put the Merged file to HDFS back.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ hdfs dfs -put /tmp/test.txt /user/maria_dev/test/

[maria_dev@sandbox ~]$ hdfs dfs -ls /user/maria_dev/test
Found 4 items
-rw-r--r--   1 maria_dev hadoop          3 2018-01-05 23:39 /user/maria_dev/test/aa.txt
-rw-r--r--   1 maria_dev hadoop          3 2018-01-05 23:39 /user/maria_dev/test/bb.txt
-rw-r--r--   1 maria_dev hadoop          3 2018-01-05 23:39 /user/maria_dev/test/cc.txt
-rw-r--r--   1 maria_dev hadoop          9 2018-01-05 23:55 /user/maria_dev/test/test.txt&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 08:28:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181378#M73171</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T08:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181379#M73172</link>
      <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;thank you. Two questions:&lt;/P&gt;&lt;P&gt;1. Is there a way to merge the files directly from HDFS, or do you need to merge them to local file system and then back to HDFS?&lt;/P&gt;&lt;P&gt;2. I was following your instructions, but on point 4 with getmerge, I used this:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -getmerge /user/maria_dev/Folder1/* /maria_dev/Folder1/output.csv&lt;/PRE&gt;&lt;P&gt;I have a folder called Folder1 (it is also on local file system under maria_dev folder as Folder1 but get the same error:&lt;/P&gt;&lt;PRE&gt;getmerge: Mkdirs failed to create file:/maria_dev/Folder1 (exists=false, cwd=file:/home/maria_dev)&lt;/PRE&gt;&lt;P&gt;Have I missed a step or written this incorrectly?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 08:43:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181379#M73172</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T08:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181380#M73173</link>
      <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;thank you. Two questions:&lt;/P&gt;&lt;P&gt;1. Is there a way to merge the files directly on HDFS, or do you need to merge to local file system then put back on HDFS?&lt;/P&gt;&lt;P&gt;2. I followed your instructions but on point no. 4 I used:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -getmerge /user/maria_dev/Folder1/* /Folder1/output.csv&lt;/PRE&gt;&lt;P&gt;I have a folder called Folder1 on HDFS and it is also the same folder on local system, but got the same error:&lt;/P&gt;&lt;PRE&gt;getmerge: Mkdirs failed to create file:/Folder1 (exists=false, cwd=file:/home/maria_dev)&lt;/PRE&gt;&lt;P&gt;Not sure why this occurred. Have I missed a step or typed incorrectly?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 08:53:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181380#M73173</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T08:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181381#M73174</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you run the command as following:&lt;BR /&gt;  hdfs dfs -getmerge /user/maria_dev/Folder1/* /Folder1/output.csv&lt;BR /&gt;&lt;BR /&gt;Then it expects that the second argument which is "/Folder1/" is a valid directory on your local filesystem.&lt;BR /&gt;&lt;BR /&gt;Hence you will need to first create a valid path in your local file system.&lt;/P&gt;&lt;P&gt;You will need to create the "/Folder1" directory on your local machine first.&lt;/P&gt;&lt;PRE&gt;# mkdir "/Folder1/"&lt;/PRE&gt;&lt;P&gt;The you should be able to run:&lt;/P&gt;&lt;PRE&gt;# hdfs dfs -getmerge /user/maria_dev/Folder1/* /Folder1/output.csv&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:05:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181381#M73174</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T09:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181382#M73175</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Similarly if you want to  run the following command:&lt;/P&gt;&lt;PRE&gt;# hdfs dfs -getmerge /user/maria_dev/Folder1/* /maria_dev/Folder1/output.csv&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Then you will need to make sure that the following PATH &lt;EM&gt;&lt;STRONG&gt;"/maria_dev/Folder1/"&lt;/STRONG&gt;&lt;/EM&gt; exist on your local machine (sandbox)&lt;/P&gt;&lt;PRE&gt;# mkdir -p  /maria_dev/Folder1/
# hdfs dfs -getmerge /user/maria_dev/Folder1/* /maria_dev/Folder1/output.csv&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Another Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;
# mkdir -p /tmp/aa/bb/cc/dd/Folder1/
# hdfs dfs -getmerge /user/maria_dev/Folder1/* /tmp/aa/bb/cc/dd/Folder1/output.csv&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:10:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181382#M73175</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T09:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181383#M73176</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The user who is running the command "hdfs" should have the WRITE permission on the local filesystem to create the directories.&lt;/P&gt;&lt;P&gt;Else you will see the following error:
&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ hdfs dfs -getmerge /user/maria_dev/Folder1/* /maria_dev/Folder1/output.csv
      getmerge: Mkdirs failed to create file:/Folder1 (exists=false, cwd=file:/home/maria_dev)&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;This error indicates that the  Sandbox User "maria_dev" does not have privileges to create that directory on the local filsystem.&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ mkdir /Folder1
mkdir: cannot create directory `/Folder1': Permission denied&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;So you will need to make sure two things:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thumb Rule:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1.  The PATH mentioned in the second argument of the "getmerge" command exist.&lt;/P&gt;&lt;P&gt;2.  The Operating System user (like "maria_dev")  who is running the "getmerge" command has enough Read and write permission  to the PATH which is mentioned in the command.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:14:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181383#M73176</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T09:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181384#M73177</link>
      <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;thank you. The Folder1 folder does indeed exist. This worked for me:&lt;/P&gt;&lt;PRE&gt;hadoop fs -getmerge /user/maria_dev/Folder1/* output.csv&lt;/PRE&gt;&lt;P&gt;I cannot seem to use any of the "hdfs dfs" commands above?&lt;/P&gt;&lt;P&gt;The above gave me an output file, but it was only the first file, i.e. it did not join the second file to it?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:25:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181384#M73177</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T09:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181385#M73178</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;
&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ ls -l /Folder1/
ls: cannot access /Folder1/: No such file or directory&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;As the above directory does not exist hence we see the following error&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ hdfs dfs -getmerge /user/maria_dev/test/* /Folder1/merged_files.txt
getmerge: Mkdirs failed to create file:/Folder1 (exists=false, cwd=file:/home/maria_dev)&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;STRONG&gt;As the directory does not exist hence we will need to create that PATH first.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ mkdir /Folder1
mkdir: cannot create directory `/Folder1': Permission denied&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;STRONG&gt;Running directory creation command command as "root"&lt;/STRONG&gt;
&lt;/P&gt;&lt;PRE&gt;[maria_dev@sandbox ~]$ exit

[root@sandbox ~]# mkdir -p /Folder1
[root@sandbox ~]# chmod 777 -R /Folder1/&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Now as the "maria_dev" user has read-write permission on PATH '/Folder1" &lt;/STRONG&gt;hence we can now run the command:
&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# su - maria_dev
[maria_dev@sandbox ~]$ hdfs dfs -getmerge /user/maria_dev/test/* /Folder1/merged_files.txt&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:26:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181385#M73178</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T09:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181386#M73179</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please refer to my last example and the explanation (Which i just posted few seconds back) about the user permission on the second argument path.   &lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:28:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181386#M73179</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T09:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181387#M73180</link>
      <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;thank you for your help with this. I am still not quite there. &lt;/P&gt;&lt;P&gt;The Folder1 definitely exists as shown in the attached (pic4) with two files. &lt;/P&gt;&lt;P&gt;I then tried:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/47458-pic4.jpg"&gt;&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;chmod 777 -R Folder1&lt;/PRE&gt;&lt;P&gt;but then when I ran the getmerge command again, it produced the same error?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/47458-pic4.jpg"&gt;pic4.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:48:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181387#M73180</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T09:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181388#M73181</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your attached image "&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/47458-pic4.jpg"&gt;pic4.jpg&lt;/A&gt;"  says that   "maria_dev" user does not have WRITE permission on the "Folder1" contents. Only "root" user has WRITE permission on that directory.&lt;/P&gt;&lt;PRE&gt;-rw-r--r--&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;So you will need to make sure that when you do "ls -l" then you see the WRITE permission.&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# mkdir -p /Folder1
[root@sandbox ~]# chmod 777 -R /Folder1/

(OR)

[root@sandbox ~]# chown maria_dev:hadoop -R /Folder1/&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For testing try creating a simple file inside the folder where you are getting the error &lt;STRONG&gt;(this is just to see if "maria_dev" user has permission to create files inside that folder or not?)&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;[root@sandbox ~]# su - maria_dev

[maria_dev@sandbox ~]$ cd /Folder1/

[maria_dev@sandbox Folder1]$ echo "Hello"  &amp;gt; test.txt&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 09:54:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181388#M73181</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T09:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181389#M73182</link>
      <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;I changed the "ls-l" to see WRITE permission as shown in the attached pic.&lt;/P&gt;&lt;P&gt;I also created tes&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/47459-pic5.jpg"&gt;pic5.jpg&lt;/A&gt;t.txt but where should I see this now? It is not showing in list, also not showing in my directory for WinSCP?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 10:06:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181389#M73182</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T10:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181390#M73183</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/51363/mmay14.html" nodeid="51363"&gt;@Matt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you looking at the correct directory?&lt;/P&gt;&lt;P&gt;Can you please share the complete PATH of the directory in the One screenshot with all the commands that you are trying from Directory.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 10:14:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181390#M73183</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-07T10:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181391#M73184</link>
      <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;are you referring to WinSCP directory? If so, please see screen shot attached.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/47460-pic6.jpg"&gt;pic6.jpg&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is no Folder1 here so this is why I am still confused.&lt;/P&gt;&lt;P&gt;Pic7 shows directory under root (pic 6 was as maria_dev).&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/47461-pic7.jpg"&gt;pic7.jpg&lt;/A&gt; The Folder1 shows here but I am still unsure as to how to progress.&lt;/P&gt;&lt;P&gt;Should I be logged into WinSCP as root or maria_dev?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 10:18:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181391#M73184</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T10:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181392#M73185</link>
      <description>&lt;P&gt;@ Jay Kumar SenSharma&lt;/P&gt;&lt;P&gt;do you mean from WinSCP? I am not sure. I have included pics in my previous post. If you could take a look, that would be most appreciated. When I create a Folder1 directory, it does not show up under root - home - maria_dev.&lt;BR /&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 10:51:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181392#M73185</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T10:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to join multiple csv files in folder to one output file?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181393#M73186</link>
      <description>&lt;P&gt;I was looking at the wrong directory. This appears to have resolved the issue. Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2018 16:34:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-join-multiple-csv-files-in-folder-to-one-output-file/m-p/181393#M73186</guid>
      <dc:creator>mmay14</dc:creator>
      <dc:date>2018-01-07T16:34:44Z</dc:date>
    </item>
  </channel>
</rss>

