Member since
12-20-2016
28
Posts
2
Kudos Received
0
Solutions
05-22-2017
02:54 AM
@shi cheng Why would Ambari adjust physical memory assigned to YARN? You configure YARN memory (capacity scheduler settings) through Ambari - YARN config page. Please see usage below: https://hortonworks.com/hadoop-tutorial/configuring-yarn-capacity-scheduler-ambari/#configure-scheduler Ambari's own memory is configured using /var/lib/ambari-server/ambari-env.sh and changing the value of -Xmx<heap size you want>
... View more
04-17-2017
04:33 AM
@shi cheng If you are able to compile ambari. Then next step will be to make an RPM using the following command: mvn -B clean install package rpm:rpm -DskipTests -Pcentos5 -Dpython.ver="python26" -Preplaceurl - Once the RPMs are ready then you can install it as following: yum install ambari-server/target/rpm/ambari-server/RPMS/noarch/ambari-server-*.noarch.rpm
Once ambari is installed using RPM then you can do the setup and start. ambari-server setup
ambari-server start . For more informations please refer to: https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development
... View more
04-17-2017
04:39 AM
@shi cheng Please let us know which "view.json" are you talking about? And what kind of changes you want to make? Are you talking about "view.xml" file that is present inside every Ambari View instance like: https://github.com/apache/ambari/blob/trunk/contrib/views/files/src/main/resources/view.xml .
... View more
04-17-2017
12:50 PM
@shi cheng In order to compile/build ambari with your own fixes, you will need to refer to the following documentation then you will be able to generate the RPMs that you can install on your machine. - https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development - Example: # mvn versions:set -DnewVersion=${AMBARI_VERSION}
# mvn versions:set -DnewVersion=${AMBARI_VERSION}
# popd
# mvn clean package -DskipTests -Drat.skip
# mvn -B clean install package rpm:rpm -DskipTests -Dpython.ver="python >= 2.6" -Preplaceurl - In order to build ambari-metrics # cd ambari-metrics
# mvn clean package -Dbuild-rpm -DskipTests .
... View more
04-06-2017
03:04 PM
wget http://mooc.ttxit.com:8081/repository/maven-snapshots/org/apache/storm/storm-core/1.1.0-SNAPSHOT/storm-core-1.1.0-20170406.185336-1.jar -O ./storm-core-1.1.0-SNAPSHOT.jar
mvn install:install-file -Dfile=./storm-core-1.1.0-SNAPSHOT.jar -DgroupId=org.apache.storm -DartifactId=storm-core -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar
... View more
09-26-2017
05:38 AM
@Jay SenSharma I'm also facing the same issue. Would be great to receive your help. While I see that other services (e.g. Ambari-admin) gets build fine and even see RPM been built; it fail for metrics timelineservice. ps. timelineservice jar is built, it's the rpm build phase that is failing.
... View more
03-15-2017
06:55 AM
@shi cheng As @sbhat pointed out, your url is incorrect to add component. correct one is below. curl -u <username>:<password> -i -X POST http://<ambari-server-host>:8080/api/v1/clusters/<cluster-name>/services/<service-name>/components/<component-name>;
Example:
curl -u <username>:<password> -i -X POST http://<ambari-server-host>:8080/api/v1/clusters/c1/services/RANGER/components/RANGER_ADMIN You need to follow the exact steps mentioned in the above link.
... View more
03-07-2017
09:13 AM
[root@Prod-Hdp-NN-2 ambari-server]# lsof -p 9526 | wc -l
707
... View more
02-14-2017
04:35 AM
@shi cheng http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/ch_Deploy_and_Configure_a_HDP_Cluster.html http://hortonworks.com/hadoop-tutorial/lap-around-deploying-managing-configuring-hdp-ambari-1-7/
... View more