Member since
02-08-2016
793
Posts
669
Kudos Received
85
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2874 | 06-30-2017 05:30 PM | |
3712 | 06-30-2017 02:57 PM | |
3138 | 05-30-2017 07:00 AM | |
3605 | 01-20-2017 10:18 AM | |
7823 | 01-11-2017 02:11 PM |
04-09-2016
11:30 AM
1 Kudo
@Inam Ur Rehman 1. You need to reboot your system and go in bios and enable it from there which is required for Virtual Machine to run. http://www.howtogeek.com/213795/how-to-enable-intel-vt-x-in-your-computers-bios-or-uefi-firmware/ 2. In virtual machine click on VM Settings -> System -> you will see "Hardware Virtualization" pls enable it.
... View more
04-07-2016
10:20 AM
3 Kudos
Hi team From the link below, i see options to set and get storage policies on hdfs for files/dirs https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/ArchivalStorage.html#Set_Storage_Policy Also hdfs command displays - hdfs storagepolicies --help
Can't understand command '--help'
Usage: bin/hdfs storagepolicies [COMMAND]
[-listPolicies]
[-setStoragePolicy -path <path> -policy <policy>]
[-getStoragePolicy -path <path>]
[-help <command-name>]
Can you let me know how to delete if there is any storage policy applied ?
... View more
Labels:
- Labels:
-
Apache Hadoop
04-06-2016
10:31 AM
5 Kudos
@kael lee you can delete the client using rest api call - try listing services 1st and grep for oozie- # curl -u admin:admin -H "X-Requested-By: ambari" -X GET http://<ambari-server-fqdn>:8080/api/v1/clusters/<clustername>/services/ |grep oozie refer delete command from below ur - https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host
... View more
04-06-2016
10:07 AM
1 Kudo
Hi @sarfarazkhan pathan Can you check if you have internet connection in place? try # ping google.com I see from the log it seems your internet connection is not working. If you are using virtual machine for installation of ambari, the please follow below step to check your network settings - 1. Open virtual machine on which you are trying to install 2. Click on .. Machine-> Settings ->Network 3. Make sure your adapter should be set to "Bridged Adapter" or "NAT" 4. Try restarting VM or network services. check again for downloading using wget command.
... View more
04-01-2016
11:30 AM
1 Kudo
@vperiasamy the issue is resolved. I just took solution from @Vipin Rathor before checking you comment 😜 But it helped. Thanks for reply.
... View more
03-31-2016
04:11 PM
1 Kudo
I followed the document for setting ranger kms on kerberized cluster. https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_Ranger_KMS_Admin_Guide/content/ch03s02.html While doing test connection to default repository of Ranger KMS it gives error as shown below - Can you please help how to resolve this ? 2016-03-31 20:02:05,403 [timed-executor-pool-0] INFO apache.ranger.services.kms.client.KMSClient (KMSClient.java:214) - getKeyList():response.getStatus()= 401 for URL http://node1.example.com:9292/kms/v1/keys/names?user.name=keyadmin, so returning null list
2016-03-31 20:02:05,408 [timed-executor-pool-0] ERROR apache.ranger.services.kms.client.KMSResourceMgr (KMSResourceMgr.java:43) - <== KMSResourceMgr.validateConfig Error: org.apache.ranger.plugin.client.HadoopException: <html><head><title>Apache Tomcat/7.0.55 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - Authentication required</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Authentication required</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.55</h3></body></html>
... View more
Labels:
- Labels:
-
Apache Ranger
03-30-2016
05:46 AM
1 Kudo
Hi Team, This issue is resolved. I missed to create hive repository user for ranger-hive plugin. Created the user in kerberos and modified configuration and it worked. Referred below link - https://github.com/abajwa-hw/security-workshops/blob/master/Setup-ranger-22.md#setup-hdfs-repo-in-ranger Thanks Sagar
... View more
03-30-2016
05:07 AM
Hi Team, I am using Ambari -2.1.2 and HDP -2.3.0.0-2557 with kerberos and Ranger configured. I tried to setup HIVE repository in Ranger but test connection fails. Below are my repository details - where jdbc url is - " jdbc:hive2://node2.example.com:10000/default;principal=hive/node2.example.com@example.com " I tested same using beeline from the node2.example.com where i have my hiveserver2 installed. Below are logs - === beeline> !connect jdbc:hive2://node2.example.com:10000/default;principal=hive/node2.example.com@example.com Connecting to jdbc:hive2://node2.example.com:10000/default;principal=hive/node2.example.com@example.com Enter username for jdbc:hive2://node2.example.com:10000/default;principal=hive/node2.example.com@example.com: hive Enter password for jdbc:hive2://node2.example.com:10000/default;principal=hive/node2.example.com@example.com: **** Connected to: Apache Hive (version 1.2.1.2.3.0.0-2557) Driver: Hive JDBC (version 1.2.1.2.3.0.0-2557) Transaction isolation: TRANSACTION_REPEATABLE_READ 0: jdbc:hive2://node2.example.com:10000/defau> === below are ranger xa-admin logs i see - Error: Could not open client transport with JDBC Uri: jdbc:hive2://node2.example.com:10000/default;principal=hive/node2.example.com@example.com: GSS initiate failed (state=08S01,code=0) 0: jdbc:hive2://node2.example.com:10000/defau (closed)> 16/03/30 10:29:59 [main]: ERROR transport.TSaslTransport: SASL negotiation failure javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:211) at org.apache.thrift.transport.TSaslClientTransport.handleSaslStartMessage(TSaslClientTransport.java:94) at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271) at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52) at org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422)
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Ranger
03-30-2016
03:50 AM
1 Kudo
@Ajay Kuppachi In case, if you are not able to delete the service using api then you need to check the service state in ambari database. Below are commands for same - # psql -U ambari <= [password will be - bigdata, unless you have customize it.]
ambari=>select * from servicedesiredstate where service_name='<service-name>'
eg. ambari=>select * from servicedesiredstate where service_name='KNOX' ambari=>select * from servicecomponentdesiredstate where service_name='<service-name>'; ambari=>select * from hostcomponentstate where service_name='<service-name>'; ambari=>select * from hostcomponentdesiredstate where service_name='<service-name>'; ambari=>quit; You need to update the state accordingly. Thanks Sagar
... View more
03-29-2016
04:36 AM
@darkz yu Was there any errors while installation ? Can you run the below command and paste the output here - #ls -ltr /etc/hadoop #ls -ltr /usr/hdp/current/ #hdp-select Thanks Sagar
... View more