Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] List all the directory for a given HDFS path

Hi,
I need your help!!!.
I want to list all the directory/folder for the given HDFS path. So I used the following job

0683p000009MDor.png
Afte I run the job I got only below log. 
connecting to socket on port 4067
connected
: org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
disconnected
Job Read_HDFS_file ended at 20:25 02/04/2017.

I expected the list of folder in the tlogrow output, but got nothing. please see the above log. Please let me know If I miss something here..
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi, 
I resolved it myself. I removed "*.*" from filemask and then it worked well. 
0683p000009MDYX.png

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Can you post tHDFSList properties ?
Anonymous
Not applicable
Author

Can you post tHDFSList properties ?

Here is the tHDFSList screen shot.. 
Under "data/stage/retail" path, I have folders (example datafolder1, datafolder2..etc). I want to print these folder names only in tlogrow. To understand it better, I have simplified the requirement.  
0683p000009MDvf.png
FYI, I tried to list the names from unix box using similar approach and it worked well.
Anonymous
Not applicable
Author

Hi, 
I resolved it myself. I removed "*.*" from filemask and then it worked well. 
0683p000009MDYX.png