Member since
12-09-2015
61
Posts
43
Kudos Received
4
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3148 | 08-05-2016 12:33 PM | |
3658 | 02-27-2016 09:19 AM | |
8265 | 02-19-2016 06:28 PM | |
1438 | 02-02-2016 09:09 PM |
06-01-2017
05:28 AM
@Aravindan Vijayan yes, Ive done that part. Its been working since the upgrade. Maybe the documentation should be updated so it is not confusing. I remember running into sth similar whne upgrading to 2.4 last year. Speaking of documentation, it should be more obvious with regards to grafana when upgrading from 2.5 to 2.6, since in 2.5 Grafana is already a part of the stack, but the upgrade docs consider it as a service that must be installed and not how to upgrade it (or if there is an upgrade).
... View more
05-29-2017
11:52 AM
3 Kudos
Im using Ubuntu 14. I am upgrading ambari from 2.4 to 2.5. When upgrading ambari metrics and ambari grafana I get the following error messages: Unable to locate package ambari-metrics-collector Unable to locate package ambari-metrics-grafana Im following the upgrade documentation from here: https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-upgrade/content/upgrade_ambari_metrics.html If I run sudo apt-cache showpkg ambari-* I do get some ambari packages but not these two. What am I missing?
... View more
Labels:
- Labels:
-
Apache Ambari
03-16-2017
01:09 PM
I may be teaching wrong religion and not helping you directly here: I went away from Zeppelin in Ambari and installed it on a client manually - not a biggie. Have full control over it now.
Good luck.
... View more
08-05-2016
12:33 PM
1 Kudo
I made it work now. its not -X PUT but -X POST curl -iv -u admin:admin -H "X-Requested-By: ambari" -X POST -d '[{"MemberInfo/user_name":"user1", "MemberInfo/group_name":"group1"}]' http://ambari-server:8080/api/v1/groups/group1/members This adds new user to a group without deleting the existing group members.
... View more
08-05-2016
12:27 PM
So the answer to my question would be: File add_to_group.amb: {
"MemberInfo/user_name":"user1",
"MemberInfo/group_name":"group1"
}
curl -iv -u admin:admin -H "X-Requested-By: ambari" -X PUT -d @add_to_group.amb http://ambari-server:8080/api/v1/groups/group1/members This works! Thank you, @sbhat
... View more
08-05-2016
12:27 PM
@sbchat I had to unaccept the answer. What happens now is that the user is added, but the old users from the group are removed from it. Can you check if this behaviour occurs on your side as well?
... View more
08-05-2016
11:28 AM
@sbhat I ran what you recommended under adding user to a group and Im getting 405 Method not allowed. I tried with -X POST rather than PUT and Im getting this error: {
"status" : 400,
"message" : "The properties [MemberInfo/user_name, MemberInfo/group_name] specified in the request or predicate are not supported for the resource type Group."
* Connection #0 to host ambari-server left intact
} so I updated the string by adding members/ in front of MemberInfo, like this: {
"members/MemberInfo/user_name":"user1",
"members/MemberInfo/group_name":"group1"
}
and the error is the same. Im using Ambari 2.2.2.0 if this has to do with anything.
... View more
08-05-2016
09:41 AM
1 Kudo
I would like to add a new user to Ambari Views and add it to a group. Here is my file: {
"Users/user_name": "user1",
"Users/password": "user1",
"Users/groups": ["group1"],
"Users/active": true,
"Users/admin": false
}
So I run the file: curl -iv -u admin:admin -d @user1.amb -H "X-Requested-By: ambari" -X POST http://ambari-server:8080/api/v1/users The user is created, but not added to the group. Here is the GET output for this user: {
"href" : "http://ambari-server:8080/api/v1/users/user1",
"Users" : {
"active" : true,
"admin" : false,
"groups" : [ ],
"ldap_user" : false,
"user_name" : "user1"
},
"widget_layouts" : [ ],
"privileges" : [ ]
} Groups is empty. Does anyone have any idea what Im doing wrong in this user creation process?
... View more
Labels:
- Labels:
-
Apache Ambari
03-09-2016
11:20 AM
@Jorge de la peña Have you checked the log files?
Btw, if you can upgrade to Spark 1.6.0, then you should do it.
... View more
03-08-2016
10:32 AM
@Jorge de la peña
Jorge, next time you should quote the user you are talking to. Pure luck I saw your post.
Thank for posting this, btw. It motivated me to finally put together the How-I-did-it https://markobigdata.wordpress.com/2016/03/08/building-apache-zeppelin-0-6-0-on-spark-1-5-2-in-a-cluster-mode/
Hope it helps!
... View more