Member since
04-22-2014
1218
Posts
341
Kudos Received
157
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 26352 | 03-03-2020 08:12 AM | |
| 16505 | 02-28-2020 10:43 AM | |
| 4788 | 12-16-2019 12:59 PM | |
| 4499 | 11-12-2019 03:28 PM | |
| 6758 | 11-01-2019 09:01 AM |
07-12-2018
11:05 AM
1 Kudo
@AlexPQ, Based on the referenced Jira, kerberos auth is now configurable. In CDH 5.11.0 and higher, you can enable kerberos auth in hue.ini: [spark] security_enabled=true
... View more
07-12-2018
10:11 AM
1 Kudo
@VuSand3259, You can use this endpoint: https://cloudera.github.io/cm_api/apidocs/v19/path__users_-userName-.html using the PUT method via REST API allows you to update the user object defined here: https://cloudera.github.io/cm_api/apidocs/v19/ns0_apiUser.html For example, the following would make an existing user "mytestuser" a full administrator in CM 5.15 (you would need to use the api version that is right for your CM version): curl -u cm_user:cm_pass -H "Content-Type: application/json" -X PUT -d '{"roles" : [ "ROLE_ADMIN"]}' http://cm_host:7180/api/v19/users/mytestuser
... View more
07-12-2018
09:26 AM
1 Kudo
@Anudas, Thank you for asking. At this time we do not support it and recommend against using Galera. This is mainly due to the way Galera implements optimimstic locking. At the least, we have noted problems where the following error occurs "Deadlock found when trying to get lock; try restarting transaction". We are also concerned that a simple retry could introduce the possibility of out-of-order events. Bottom line is that we would need to code and test extensively to certify Galera. That may happen in the future, but, for now, I'd say avoid it as we know there are locking problems. Regards, Ben
... View more
07-12-2018
08:57 AM
1 Kudo
@mcalnd, Thank you for bringing this to our attention. I just tested on CM 5.13.1 and 5.15.0. I changed the percentage from 90 to 91. After about 10 seconds, both YARN services showed the configuration was stale. The diff showed the change I made I wonder if there may have been a problem with the staleness detection in CM in your case. If this happens again, you might try restarting Cloudera Manager and see if the stale config is detected and then review the CM log to see if there was anything going wrong with "staleness" detection. Thanks again!
... View more
07-12-2018
08:47 AM
1 Kudo
@BenK, Cloudera Manager's steps for starting servers are based on internal dependencies, so there isn't a configuration in Cloudera Manager that could be used to change it. I suspect that the StreamSets fix may have been around dependencies, in the CSD, but that's just a guess. The only alternative I can see at this time is to bring the services up one at a time. You could do that with the API and wrap it in the script: https://cloudera.github.io/cm_api/apidocs/v14/path__clusters_-clusterName-_services_-serviceName-_commands_start.html You can see all REST API stuff here: https://cloudera.github.io/cm_api/apidocs/v14/ For instance, you could write a shell script that executes a serice of "curl" commands that start the services. There is a complexity in that you need to wait till the service is really running before started, but that can be accomplished by using: https://cloudera.github.io/cm_api/apidocs/v14/path__clusters_-clusterName-_services_-serviceName-.html and parsing out the status. If a service is "STARTED" start the next one... "serviceState" : "STARTED", It might be something to play with if you are stuck in this state long term. The API is in Java and Python and you can find examples of usage here too: https://cloudera.github.io/cm_api/
... View more
07-12-2018
08:17 AM
@Genthandsome, Hi, I see you are posting on a lot of different old threads. In the future, please create a new thread and explain the issue you are seeing like you did here. Thank you. If you google "server IP address could not be found" you will find information that helps point you in the right direction about what that means. You are getting that in Chrome, I presume, so I also guess that you are attempting to connect to the Job History Server UI from a browser that is on a different host than nstance-1.c.12345678.internal That means your local host (where your browser is installed) cannot resolve the hostname "nstance-1.c.12345678.internal". You will need to ensure your client host has hosts file or DNS configured to allow it to resolve the host to IP address.
... View more
07-12-2018
08:05 AM
@Genthandsome, Actually, that stackoverflow may be off target since it talks about public addresses. Your browser needs to resolve a hostname into an IP so that your computer can connect to Hue. If that resolution (or mapping) fails then the client (browser in this case) cannot connect to the host specified in the browser's URL.
... View more
07-12-2018
08:03 AM
@Genthandsome, I'm talking about DNS. https://en.wikipedia.org/wiki/Domain_Name_System For instance, if using a DNS server for name resolution: $ nslookup www.google.com Server: x.x.x.x Address: x.x.x.x#53 Non-authoritative answer: Name: www.google.com Address: 172.217.0.36 My point in this case is that someone got an error saying that the browser could not resolve the IP. For example, see: https://stackoverflow.com/questions/36668374/how-do-i-solve-the-server-dns-address-could-not-be-found-error-on-windows-10 The browser problem showed an issue with the browser and how it tries to communicate with the server host; it had nothing to do with Hue.
... View more
07-12-2018
07:50 AM
@balusu, The script works without manipulation but it requires LDAPS, so either you have to figure outall these nuances of how to get it to work without LDAPS or you could look at alternatives: (1) Create all the principal objects yourself and implement a keytab retrieval script as described here: https://www.cloudera.com/documentation/enterprise/5-14-x/topics/sg_keytab_retrieval_script.html (2) Install and configure an MIK Kerberos KDC until you can get LDAPS support in AD. Changing from MIT KDC to AD KDC is not too hard, but does require some downtime.
... View more
07-11-2018
11:10 AM
@BenK, Based on the information provided, I believe the information you seek would best be provided by StreamSets as they build the parcel and CSD. When you restart, Cloudera Manager will signal the StreamSets service to restart, but the handling of that action is done at the CSD level which is created by the vendor (not Cloudera). I think this is where they handle their questions: https://groups.google.com/a/streamsets.com/forum/#!forum/sdc-user
... View more