Member since
02-02-2016
22
Posts
4
Kudos Received
0
Solutions
02-03-2016
04:24 PM
Yes Namenode service seems to be stopped. I restarted it but the status seems to be Stopped. NameNode Stopped SNameNode Stopped DataNodes 0/1
Started
... View more
02-03-2016
04:14 PM
I am getting this error when
SSL Between Knox & WebHDFS is configured as per the document End to End Wire Encryption with Apache Knox in Ambari
500 status codereceived on GET method for API: /api/v1/clusters/Sandbox/host_components?HostRoles/component_name=NAMENODE&metrics/dfs/FSNamesystem/HAState=active&fields=metrics/jvm/gcCount[1454512016,1454515616,15],metrics/jvm/GcCountConcurrentMarkSweep[1454512016,1454515616,15],metrics/jvm/GcTimeMillisConcurrentMarkSweep[1454512016,1454515616,15],metrics/rpc/NumOpenConnections[1454512016,1454515616,15],metrics/jvm/memHeapCommittedM[1454512016,1454515616,15],metrics/jvm/memHeapUsedM[1454512016,1454515616,15],metrics/cpu/cpu_system[1454512016,1454515616,15],metrics/cpu/cpu_user[1454512016,1454515616,15],metrics/cpu/cpu_nice[1454512016,1454515616,15],metrics/cpu/cpu_idle[1454512016,1454515616,15],metrics/cpu/cpu_wio[1454512016,1454515616,15],metrics/memory/mem_total[1454512016,1454515616,15],metrics/memory/mem_free[1454512016,1454515616,15],metrics/memory/mem_cached[1454512016,1454515616,15],metrics/rpc/RpcQueueTime_avg_time[1454512016,1454515616,15],metrics/rpc/RpcProcessingTime_avg_time[1454512016,1454515616,15]&format=null_padding
Error message: org.apache.ambari.server.controller.spi.SystemException: Error loading deferred resources
... View more
02-03-2016
03:55 PM
In the below property can i give sandbox.hortonworks.com with the same port mentioned below or should i give Wedhdfs port? dfs.datanode.https.address=workshop.hortonworks.com:50475
... View more
02-03-2016
03:54 PM
In the below property can i give sandbox.hortonworks.com with the same port mentioned below or should i give Wedhdfs port? dfs.datanode.https.address=workshop.hortonworks.com:50475
... View more
02-03-2016
03:40 PM
Yes i am following this http://hortonworks.com/blog/end-end-wire-encryption-apache-knox/ to make a call to HDFS through KNOX security using user name and password. When i make a call through REST API it is showing this error Unable to Connect to SSL Services due to PKIX Path Building Failed
... View more
02-03-2016
03:30 PM
1 Kudo
Hi, I am trying to configure HDFS for SSL certificate and following the instructions on the document on End to End wire encryption with Knox. Not sure how to set these properties in Ambari UI. Any help would be appreciated. Thanks
Use Ambari to set the following properties in core-site.xml. [code language=”XML”]
hadoop.ssl.require.client.cert=false
hadoop.ssl.hostname.verifier=DEFAULT_AND_LOCALHOST
hadoop.ssl.keystores.factory.class=org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory
hadoop.ssl.server.conf=ssl-server.xml
[/code] Use Ambari to set the following properties in hdfs-site.xml. [code language=”XML”]
dfs.http.policy=HTTPS_ONLY
dfs.datanode.https.address=workshop.hortonworks.com:50475
[/code] The valid values for dfs.http.policy are HTTPS_ONLY & HTTP_AND_HTTPS. The valid values for hadoop.ssl.hostname.verifier are DEFAULT, STRICT,STRICT_I6, DEFAULT_AND_LOCALHOST and ALLOW_ALL. Only use ALLOW_ALL in a controlled environment & with caution. And then use ambari to restart all hdfs services.
... View more
Labels:
- Labels:
-
Apache Hadoop
02-03-2016
03:22 PM
I imported a new sandbox and issue has been fixed..Thnaks
... View more