Member since
07-03-2018
64
Posts
2
Kudos Received
0
Solutions
05-03-2018
03:14 PM
I have used NiFi TLS-toolkit & Below are outputs from Nodes: Node1: Entry type: PrivateKeyEntry Certificate chain length: 2 Certificate[1]: Owner: CN=nifiadmin, OU=NIFIrsdevhdf1.medassurant.local, OU=NIFI Issuer: CN=rsdevhdf3.medassurant.local, OU=NIFI Node2: Entry type: PrivateKeyEntry
Certificate chain length: 2 Certificate[1]: Owner: CN=nifiadmin, OU=NIFIrsdevhdf2.medassurant.local, OU=NIFI Issuer: CN=rsdevhdf3.medassurant.local, OU=NIFI Node3: Entry type: PrivateKeyEntry
Certificate chain length: 2 Certificate[1]: Owner: CN=nifiadmin, OU=NIFIrsdevhdf3.medassurant.local, OU=NIFI Issuer: CN=rsdevhdf3.medassurant.local, OU=NIFI
... View more
05-03-2018
02:44 PM
Hi @Matt Clarke Thanks for quick response and while I was trying to keytool -v -list -keystore keystore.jks this I was getting below error: keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect and also I am new to this SSl Concept Could you please explain me the resolution little bit clear ?
... View more
05-03-2018
01:44 PM
I was trying to enable SSL in NIFI cluster which gives an error at NIFI UI : Insufficient Permissions home Untrusted proxy CN=nifiadmin, OU=NIFIrsdevhdf2.medassurant.local, OU=NIFI I added a picture of My NIFI configuration for SSL enabling :nifi-config.png
... View more
Labels:
- Labels:
-
Apache NiFi
03-16-2018
06:22 PM
@Sudhakara Vasiraju its working for me with out refreshing manually by calling below rest api.... curl
-u admin:admin -H 'Content-Type:application/json' -H 'X-Requested-By:ambari' -iX
PUT -d '{"save": "true"}'
_http://localhost:8080/api/v1/views/CAPACITY-SCHEDULER/versions/1.0.0/instances/AUTO_CS_INSTANCE/resources/scheduler/configuration/saveAndRefresh
... View more
03-01-2018
08:31 PM
1 Kudo
Thank you so much it worked.....
... View more
03-01-2018
05:20 PM
Hi Saha I was able to run this but ending up error... RESTAPI : curl -u admin:admin -H "X-Requested-By: ambari" -X PUT $ambari_server/api/v1/clusters/engsndbx -d '[{"Clusters":{ > "desired_config":[{ > "type":"capacity-scheduler", > "tag":"version1519845495539", > "properties":{ > "yarn.scheduler.capacity.maximum-am-resource-percent":"0.4", > "yarn.scheduler.capacity.maximum-applications":"10000", > "yarn.scheduler.capacity.node-locality-delay":"40", > "yarn.scheduler.capacity.resource-calculator": "org.apache.hadoop.yarn.util.resource.DominantResourceCalculator", > "yarn.scheduler.capacity.queue-mappings-override.enable":"false", > "yarn.scheduler.capacity.root.acl_administer_queue": "*", > "yarn.scheduler.capacity.root.capacity":"100", > "yarn.scheduler.capacity.root.queues": "Hive", > "yarn.scheduler.capacity.root.accessible-node-labels": "*", > "yarn.scheduler.capacity.root.Hive.acl_submit_applications": "*", > "yarn.scheduler.capacity.root.Hive.maximum-capacity":"100", > "yarn.scheduler.capacity.root.Hive.user-limit-factor":"4", > "yarn.scheduler.capacity.root.Hive.state": "RUNNING", > "yarn.scheduler.capacity.root.Hive.capacity":"100"}, > "service_config_version_note":"New config version"}]}}]' from above rest api I would like to update the "yarn.scheduler.capacity.root.Hive.user-limit-factor":"4", but ending upwith error : { "status" : 500, "message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Configuration with tag 'version1519845495539' exists for 'capacity-scheduler'" any suggestions ?
... View more
03-01-2018
05:18 PM
Sorry I would like to update this "yarn.scheduler.capacity.root.Hive.user-limit-factor":"4
... View more
03-01-2018
05:14 PM
@Sagar Shimpi curl -u admin:admin -H "X-Requested-By: ambari" -X PUT $ambari_server/api/v1/clusters/engsndbx -d '[{"Clusters":{
> "desired_config":[{
> "type":"capacity-scheduler",
> "tag":"version1519845495539",
> "properties":{
> "yarn.scheduler.capacity.maximum-am-resource-percent":"0.4",
> "yarn.scheduler.capacity.maximum-applications":"10000",
> "yarn.scheduler.capacity.node-locality-delay":"40",
> "yarn.scheduler.capacity.resource-calculator": "org.apache.hadoop.yarn.util.resource.DominantResourceCalculator",
> "yarn.scheduler.capacity.queue-mappings-override.enable":"false",
> "yarn.scheduler.capacity.root.acl_administer_queue": "*",
> "yarn.scheduler.capacity.root.capacity":"100",
> "yarn.scheduler.capacity.root.queues": "Hive",
> "yarn.scheduler.capacity.root.accessible-node-labels": "*",
> "yarn.scheduler.capacity.root.Hive.acl_submit_applications": "*",
> "yarn.scheduler.capacity.root.Hive.maximum-capacity":"100",
> "yarn.scheduler.capacity.root.Hive.user-limit-factor":"4",
> "yarn.scheduler.capacity.root.Hive.state": "RUNNING",
> "yarn.scheduler.capacity.root.Hive.capacity":"100"},
> "service_config_version_note":"New config version"}]}}]' from above rest api I would like to change the "yarn.scheduler.capacity.root.Hive.user-limit-factor":"4", but ending upwith error : { "status" : 500, "message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Configuration with tag 'version1519845495539' exists for 'capacity-scheduler'" any suggestions ?
... View more
03-01-2018
02:38 PM
@Gour Saha https://community.hortonworks.com/content/supportkb/49421/how-to-administer-capacity-scheduler-view-for-amba.html the above link says that we should hit ambari to change the configurations on the fly. No I do have ip address but cant share that so why I named it as a localhost whenever I am trying to call I will have ip in place of localhost that ambari server is running...
... View more
02-28-2018
08:23 PM
I was trying change the configuration of Capacity-scheduler on the fly using rest-api call. Below is the configuration look like: curl -v -u admin:admin -H "Content-Type: application/json" -H "X-Requested-By:ambari" -X PUT http://localhost:8080/api/v1/views/CAPACITY-SCHEDULER/versions/1.0.0/instances/AUTO_CS_INSTANCE/resources/scheduler/configuration --data '{
"Clusters": {
"desired_config": [
{
"type": "capacity-scheduler",
"tag": "version14534007568115",
"service_config_version_note": "To test",
"properties": {
"yarn.scheduler.capacity.maximum-am-resource-percent": 0.2,
"yarn.scheduler.capacity.maximum-applications": 10000,
"yarn.scheduler.capacity.node-locality-delay": 40,
"yarn.scheduler.capacity.resource-calculator": "org.apache.hadoop.yarn.util.resource.DominantResourceCalculator",
"yarn.scheduler.capacity.queue-mappings-override.enable": false,
"yarn.scheduler.capacity.root.acl_administer_queue": "*",
"yarn.scheduler.capacity.root.capacity": 100,
"yarn.scheduler.capacity.root.queues": "Hive",
"yarn.scheduler.capacity.root.accessible-node-labels": "*",
"yarn.scheduler.capacity.root.Hive.acl_submit_applications": "*",
"yarn.scheduler.capacity.root.Hive.maximum-capacity": 100,
"yarn.scheduler.capacity.root.Hive.user-limit-factor": 4,
"yarn.scheduler.capacity.root.Hive.state": "RUNNING",
"yarn.scheduler.capacity.root.Hive.capacity": 100
}
}
]
}
}' getting error like : About to connect() to localhost port 8080 (#0)
* Trying localhost... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host In our env. we dont have kerberos enabled.
... View more
Labels:
- Labels:
-
Apache YARN
-
Cloudera Manager
- « Previous
- Next »