Support Questions
Find answers, ask questions, and share your expertise

Unable to Load Json File via Ambari

Highlighted

Re: Unable to Load Json File via Ambari

Super Mentor

@Abhishek Srivastava

In order to isolate the issue can you try to put a file using HDFS command line to the problematic dir as "maria_dev" user?

#  su - maria_dev  -c "hdfs dfs -put  /etc/passwd    /tmp

.

Re: Unable to Load Json File via Ambari

Explorer

@Jay SenSharma

Please find the complete log.ambari-servertxt.zip

Highlighted

Re: Unable to Load Json File via Ambari

Super Mentor

@Abhishek Srivastava

Is this the correct log? The last timestamp on the ambari log i see is '14 Jul 2017'

14 Jul 2017 21:11:46,886  INFO [ambari-client-thread-636] ConfigurationBuilder:120 - HdfsApi configured to connect to defaultFS='webhdfs://sandbox.hortonworks.com:50070'
14 Jul 2017 21:11:46,894  INFO [ambari-client-thread-636] HdfsUtil:128 - HdfsApi connected OK
14 Jul 2017 21:11:50,433  INFO [ambari-client-thread-3085] ConfigurationBuilder:120 - HdfsApi configured to connect to defaultFS='webhdfs://sandbox.hortonworks.com:50070'
14 Jul 2017 21:11:50,442  INFO [ambari-client-thread-3085] HdfsUtil:128 - HdfsApi connected OK

.

Highlighted

Re: Unable to Load Json File via Ambari

Explorer

@Jay SenSharma

I have sent you the complete log .

The issue might be due to the Maria_dev user don't have access on the same ?

Can you please try on your system.

Regards

Abhishek

Highlighted

Re: Unable to Load Json File via Ambari

Super Mentor

@Abhishek Srivastava

Yes, please check the permission. Liek i see you tried uploading the json file to "/tmp" of HDFS. So please check if maria_dev has write permission on that directory or not?

21445-chck-permission.png

.