Member since
02-20-2017
7
Posts
0
Kudos Received
0
Solutions
10-25-2018
12:58 PM
Hi All, I have problem with kerberbos util command (ktutil), on client machine i created a new principal with add_entry and it's work fine but when i try to init ticket with kinit it's failed with message : "principal don't existe on kerberos database". when i create principal with kadmin.local on krb-server and try to init ticket on client it's work. any suggestion pleasee ?? Thanks for your help. Best Regards suggestion
... View more
10-05-2017
10:09 AM
Hi @bkosaraju, i use ambari version 2.5.2. I think the problem comes from the incompatibility of the version, i switch to 2.5.1 and i try again i keep you infromed. thanks. Best Regards.
... View more
10-05-2017
09:07 AM
Hi everyone, when I arrive step 9 (install, start and test) i have this error : I try to install HDF3 (NIFI/ZOOKEEPER) using Ambari on one node (REDHAT7) , I go through all the steps but when stderr: /var/lib/ambari-agent/data/errors-5.txt Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDF/2.0/hooks/before-ANY/scripts/hook.py", line 35, in <module>
BeforeAnyHook().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 329, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDF/2.0/hooks/before-ANY/scripts/hook.py", line 26, in hook
import params
File "/var/lib/ambari-agent/cache/stacks/HDF/2.0/hooks/before-ANY/scripts/params.py", line 101, in <module>
hadoop_home = stack_select.get_hadoop_dir("home", force_latest_on_upgrade=True)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/stack_select.py", line 210, in get_hadoop_dir
stack_root = Script.get_stack_root()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 575, in get_stack_root
stack_root = json.loads(stack_root_json)
File "/usr/lib/python2.6/site-packages/ambari_simplejson/__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 335, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.6/site-packages/ambari_simplejson/decoder.py", line 353, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDF/2.0/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-5.json', '/var/lib/ambari-agent/cache/stacks/HDF/2.0/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-5.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1', ''] stdout: /var/lib/ambari-agent/data/output-5.txt 2017-10-05 10:26:08,957 - Cannot find stack features for the stack named HDF
Error: Error: Unable to run the custom hook script ['/usr/bin/python', '/var/lib/ambari-agent/cache/stacks/HDF/2.0/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-5.json', '/var/lib/ambari-agent/cache/stacks/HDF/2.0/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-5.json', 'INFO', '/var/lib/ambari-agent/tmp', 'PROTOCOL_TLSv1', '']
2017-10-05 10:26:09,363 - Cannot find stack features for the stack named HDF
Command failed after 1 tries I can not find a solution for this, any tips? Best Regards
... View more
Labels:
03-06-2017
03:50 PM
Hi, i have problem with knox when i call webhdfs he returned a crypted result : {"sub":null,"aud":null,"code":"eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJwMDgwMzM0IiwiaXNzIjoiS05PWFNTTyJ9.X8HojHZ_wdQ8h_osOw0p_qRaWKmVLSJKwdhKwdjjOGQwB5DJy5D5JB-49gEvfDWcPNFnKgqsdUrzFcVYGforRxRuVR8b91yL4T_EPwDeN4vlPr5HKgfvPeL2zudR0l7x82G8m5yx09veuwGkDAs6y0GJfY4JTmQgmIS-wRwqlUxjxK7GT6Ktvft7ciwrQny00qSwrrO-RunBbBugPDFvGjqgiufyMpLAqTG58iS5rcKghYS_mHKWIdcvGdNCzCFURvDKr8gqZeN9hj6QqLnjHsP0gmUJ5YzvoJtEVMxoxMy8w7f9KSo7BwPkHjknpa7yFEltXDUvWgDpjdFcn_TPfw","iss":"KNOXSSO","exp":null}
i think the ssl cert is not valid but i can't fix it ?
... View more
03-02-2017
02:47 PM
Hi, (I'm new, this is my first use of hortonworks) I use knox to call the APIs webhdfs and oozie and I have a problem with, the return of curl it is encrypted * About to connect() to ************ port 8443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* warning: ignoring value of ssl.verifyhost
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=************,O=*****
* start date: Jan 27 14:54:02 2017 GMT
* expire date: Jan 28 14:54:02 2035 GMT
* common name: ****************************
* issuer: CN=Class 2 Authentication CA - G2,O=********
* Server auth using Basic with user ******
> GET /gateway/remote2/webhdfs/v1/user/toto/workspace?op=LISTSTATUS HTTP/1.1
> Authorization: Basic cDA4MDMzNDpkdWR1ODQ4NA==
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: ********************
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Thu, 02 Mar 2017 14:23:44 GMT
Date: Thu, 02 Mar 2017 14:23:44 GMT
< Set-Cookie: JSESSIONID=dhi2tt1ts0si4fu118n;Path=/gateway/remote2;Secure;HttpOnly
Set-Cookie: JSESSIONID=2tt1ts0si4fu118ncsuy;Path=/gateway/remote2;Secure;HttpOnly
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Set-Cookie: rememberMe=deleteMe; Path=/gateway/remote2; Max-Age=0; Expires=Wed, 01-Mar-2017 14:23:44 GMT
Set-Cookie: rememberMe=deleteMe; Path=/gateway/remote2; Max-Age=0; Expires=Wed, 01-Mar-2017 14:23:44 GMT
< Content-Length: 468
Content-Length: 468
< Server: Jetty(9.2.15.v20160210)
Server: Jetty(9.2.15.v20160210)
<
* Connection #0 to host ****************** left intact
* Closing connection #0
{"sub":null,"aud":null,"code":"eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJwMDgwMzM0IiwiaXNzIjoiS05PWFNTTyJ9.X8HojHZ_wdQ8h_osOw0p_qRaWKmVLSJKwdhKwdjjOGQwB5DJy5D5JB-49gEvfDWcPNFnKgqsdUrzFcVYGforRxRuVR8b91yL4T_EPwDeN4vlPr5HKgfvPeL2zudR0l7x82G8m5yx09veuwGkDAs6y0GJfY4JTmQgmIS-wRwqlUxjxK7GT6Ktvft7ciwrQny00qSwrrO-RunBbBugPDFvGjqgiufyMpLAqTG58iS5rcKghYS_mHKWIdcvGdNCzCFURvDKr8gqZeN9hj6QqLnjHsP0gmUJ5YzvoJtEVMxoxMy8w7f9KSo7BwPkHjknpa7yFEltXDUvWgDpjdFcn_TPfw","iss":"KNOXSSO","exp":null} I do not understand, I use an ldap(kerberos is actived) to make the request : curl -ikv -u ******:****** -X GET 'https://localhost:8443/gateway/remote2/webhdfs/v1/user/toto/workspace?op=LISTSTATUS' I miss a configuration ?????? Thanks for help
... View more
Labels: