Member since
09-18-2015
3274
Posts
1159
Kudos Received
426
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2568 | 11-01-2016 05:43 PM | |
| 8501 | 11-01-2016 05:36 PM | |
| 4860 | 07-01-2016 03:20 PM | |
| 8181 | 05-25-2016 11:36 AM | |
| 4335 | 05-24-2016 05:27 PM |
11-09-2015
05:20 PM
@Scott Shaw Uninstall SmartSense from Ambari
To remove the SmartSense service and view, follow the steps below.
First make sure all of the SmartSense services are stopped from the Ambari UI. (Optionally you can
run below command). Please ensure that all the SmartSense services are completely stopped
before continuing. If they are not stopped, the uninstallation process will not be successful, and
the service will not be able to be removed.
curl u admin:$PASSWORDi H 'XRequestedBy: ambari' X PUT d
'{"RequestInfo": {"context" :"Stop SmartSense via REST"}, "Body":
{"ServiceInfo": {"state": "INSTALLED"}}}'
http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/services/SMA
RTSENSE
Uninstall all SmartSense components
curl u admin:$PASSWORDi H 'XRequestedBy: ambari' X POST d
'{"RequestInfo": {"context" :"Uninstall SmartSense via REST",
"command":"Uninstall"}, "Requests/resource_filters":[{"hosts":"comma
separated host names", "service_name":"SMARTSENSE",
"component_name":"HST_AGENT"}]}'
http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/requests
NOTE:After issuing this command wait for Ambari operations to successfully complete. You can
check this through Ambari UI . Make sure that there are
no operations in progress.
Run the following command to remove SmartSense service from Ambari
curl u admin:$PASSWORDH 'XRequestedBy: ambari' X DELETE
http://AMBARI_SERVER_HOST:8080/api/v1/clusters/CLUSTER_NAME/services/SMA
RTSENSE
Restart ambari server for all changes to take effect
# ambariserver restart
... View more
11-09-2015
04:30 PM
@Kent Baxley Thanks for sharing this.
... View more
11-09-2015
01:47 PM
2 Kudos
Do we have recommendations for HiveServer2 sizing? I found on google a reference of max 40 users per hiveserver2 instance with 12GB/RAM? I know it can vary a lot based on usage, but do we have any reference number to start?
... View more
Labels:
- Labels:
-
Apache Hive
11-09-2015
01:22 PM
@awatson@hortonworks.com Interesting. In Ambari console, you changed all the users to root under misc?
... View more
11-09-2015
01:21 PM
@awatson@hortonworks.com From Security, Management & Troubleshooting prospecting , this is big No.
... View more
11-09-2015
02:37 AM
Thanks @Ancil McBarnett
... View more
11-09-2015
01:39 AM
1 Kudo
scala> var file = sc.textFile("hdfs://nsfed01.cloud.hortonworks.com:8020/tmp/expense.csv") 15/11/08 17:34:06 INFO MemoryStore: ensureFreeSpace(200320) called with curMem=0, maxMem=278019440 15/11/08 17:34:06 INFO MemoryStore: Block broadcast_0 stored as values in memory (estimated size 195.6 KB, free 264.9 MB) 15/11/08 17:34:06 INFO MemoryStore: ensureFreeSpace(18855) called with curMem=200320, maxMem=278019440 15/11/08 17:34:06 INFO MemoryStore: Block broadcast_0_piece0 stored as bytes in memory (estimated size 18.4 KB, free 264.9 MB) 15/11/08 17:34:06 INFO BlockManagerInfo: Added broadcast_0_piece0 in memory on localhost:40023 (size: 18.4 KB, free: 265.1 MB) 15/11/08 17:34:06 INFO SparkContext: Created broadcast 0 from textFile at <console>:15 file: org.apache.spark.rdd.RDD[String] = MapPartitionsRDD[1] at textFile at <console>:15 scala> [root@nsfed01 ~]# rpm -qa | grep -i snappy snappy-1.1.0-1.el6.x86_64 snappy-devel-1.1.0-1.el6.x86_64 The above is from HDP 2.3.2 Not sure if its related https://issues.apache.org/jira/browse/SPARK-8946 @Scott Shaw
... View more