Member since
03-07-2017
10
Posts
2
Kudos Received
0
Solutions
04-07-2017
10:03 AM
Yes, I am hitting the same hostname.
... View more
04-06-2017
06:30 PM
So using the following command gets me the access token: curl 'https://<hostname>:8443/nifi-api/access/token'-H 'Accept-Encoding: gzip, deflate, br'-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8'-H 'Accept: */*'--data 'username=<username>&password=<password>'--compressed However when use this command: curl 'https://<hostname>:8443/nifi-api/system-diagnostics'-H 'Accept-Encoding: gzip, deflate, sdch, br'-H 'Authorization: Bearer <token>'-H 'Accept: application/json, text/javascript, */*; q=0.01'--compressed I get an "Unable to validate the access token." error. Am I missing any steps?
... View more
Labels:
- Labels:
-
Apache NiFi
-
Cloudera DataFlow (CDF)
04-03-2017
08:42 PM
So using the following command gets me the access token: curl 'https://<hostname>:8443/nifi-api/access/token' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: */*' --data 'username=<username>&password=<password>' --compressed
However when use this command: curl 'https://<hostname>:8443/nifi-api/system-diagnostics' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Authorization: Bearer <token>' -H 'Accept: application/json, text/javascript, */*; q=0.01' --compressed
I get an "Unable to validate the access token." error. Am I missing any steps?
... View more
Labels:
- Labels:
-
Apache NiFi
03-09-2017
04:11 PM
Thank you very much for your help on the matter! So I am not too worried about putting them on all of the servers as I can just do it with Ansible. But I guess I was confused by your links, they seem to be for another use case and enable much more metrics which all i wanted was another application (AppDynamics) to be able to access the JMX.
... View more
03-08-2017
08:47 PM
(Sorry I can't seem to reply on a later message as I guess we are too far down the thread chain)
So I would need to edit the conf/hadoop-metrics2-hbase.properties on each region server? And I dont need to on the hbase masters?
Is this the same for adding the remote access files? Thanks for your help!
... View more
03-08-2017
07:31 PM
Where do you edit the conf/hadoop-metrics2-hbase.properties file on Ambari?
... View more
03-08-2017
07:11 PM
Thank you for your response. So if you see here: https://hbase.apache.org/metrics.html I also want to enable the metrics for remote access. Do you know if i need to create the access files on each server?
... View more
03-08-2017
07:09 PM
Hmm I don't think I need to enable all of those metrics to achieve what I am trying to do. I am just trying to get remote access for the metrics as detailed here: https://hbase.apache.org/metrics.html
... View more
03-08-2017
05:25 PM
So I attached a link to be more clear on what I was following, and I am currently using .98. So I want to setup the JMX for remote access, I do not see an ability to use Ambari to put those files on the server and I also do not see the ability to edit the metrics file on Ambari either.
... View more
03-07-2017
10:25 PM
2 Kudos
I am trying to enable HBase metrics out to the JMX following this: https://hbase.apache.org/metrics.html. At the stage "Enable HBase stats collection", I am to edit $HBASE_HOME/conf/hadoop-metrics.properties on just the master servers or all the region servers as well? same goes for the Setup JMX remote access. Am I to create them on just my masters or on all regions?
I appreciate any help!
... View more
Labels:
- Labels:
-
Apache Ambari