Member since
01-12-2017
59
Posts
1
Kudos Received
0
Solutions
07-26-2017
08:39 PM
I've seen Cloudera documentation point out that the URL template should be: URL template: jdbc:hive2://{host}:{port}/{database};AuthMech=1;KrbRealm=FOO.BAR;KrbHostFQDN={server}; But that does not seem to be working. What jars are required? Has anyone gotten this working? Links: http://justnumbersandthings.com/2017-05-06-Dbeaver-Hive-Kerberos.html
... View more
Labels:
- Labels:
-
Apache Hive
07-10-2017
05:26 PM
Thank you for the confirmation. Until the, I suppose we can just head into postgres on an add-needed basis. I don't want to keep this postgres python code in, since it inhibits who can run the audit tool (only a specific service account).
... View more
07-10-2017
05:02 PM
I can get the following details from: https://host.domain.com:port/api/v1/users/<user>; 1 {
2 "Users": {
3 "active": true,
4 "admin": true,
5 "groups": [
6 "<redacted>"
7 ],
8 "ldap_user": <redacted>,
9 "user_name": "<redacted>",
10 "user_type": "LDAP"
11 },
There is no created date. Is there an API call for this? I don't want to have to resort to using our postgres backing DB, as we have limited users added that, and this hampers who can then run our audit tools.
... View more
Labels:
- Labels:
-
Apache Ambari
05-15-2017
06:41 PM
The second was what I was looking for. Thanks!
... View more
05-15-2017
03:26 PM
Looking to see if LOG.isDebugEnabled can be switch "ON" when running shell command that invokes a Java Class object. I don't want to go about messing with Ambari or logj4 for a quick debug test. Is this possible? Trying to debug: yarn scmadmin
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache YARN
05-15-2017
02:18 PM
I'd like to be able to enabled LOG.isDebugEnabled at runtime to debug certain java classes, such as 'yarn scmadmin', but I don't see a way outside of modifying logging in Ambari or the logj4 properties. Any idea?
... View more
Labels:
- Labels:
-
Apache YARN
05-02-2017
07:20 PM
I know about https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/WebHDFS.html#Iteratively_List_a_Directory, but not quite getting what I want. The problem is, for downtimes, hadoop fs -ls -R takes way too long. I was hoping webhdfs could produce the same.
... View more
Labels:
- Labels:
-
Apache Hadoop
04-24-2017
07:15 PM
We have the same issue with one particular user. The query works fine as other users. I have checked permissions under .hiveJars and the like.
... View more
04-06-2017
12:14 PM
I tried the cpu host call, but it gives me:
curl: (3) [globbing] error: bad range specification after pos 101 And yes, I know the below is an old Unix date, which I did replace with something like Start:1491309675 ("04/04/2017 08:41:15") End: 1491481119 (Thu Apr 6 08:18:31 EDT 2017) I'm not sure what the 15 signifies, or the end '&_=1430848217591' [mtdeguzis@HOST ~]$ curl -k -H "X-Requested-By: ambari" -u <MYUSERNAME> -X GET <a href="http://<AMBARI_HOST>http://:api/v1/clusters//hosts/?fields=metrics/cpu/cpu_user[1430844610,1430848210,15],metrics/cpu/cpu_wio[1430844610,1430848210,15],metrics/cpu/cpu_nice[1430844610,1430848210,15],metrics/cpu/cpu_aidle[1430844610,1430848210,15],metrics/cpu/cpu_system[1430844610,1430848210,15],metrics/cpu/cpu_idle[1430844610,1430848210,15]&_=1430848217591</a>>:<PORT>api/v1/clusters/<CLUSTER_NAME>/hosts/<TARGET_HOST>?fields=metrics/cpu/cpu_user[1430844610,1430848210,15],metrics/cpu/cpu_wio[1430844610,1430848210,15],metrics/cpu/cpu_nice[1430844610,1430848210,15],metrics/cpu/cpu_aidle[1430844610,1430848210,15],metrics/cpu/cpu_system[1430844610,1430848210,15],metrics/cpu/cpu_idle[1430844610,1430848210,15]&_=1430848217591
curl -k -H "X-Requested-By: ambari" -u mtdeguzis -X GET "http://<AMBARI_HOST>:<PORT>/api/v1/clusters/<CLUSTER_NAME>/hosts/<TARGET_HOST>?fields=metrics/cpu/cpu_user[1491309675,1491481119,15]"
... View more
04-06-2017
11:58 AM
This looks to be what I need, I see the CPU call there for the host, thank you 🙂
... View more
- « Previous
-
- 1
- 2
- Next »