Member since
11-07-2016
637
Posts
253
Kudos Received
144
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2721 | 12-06-2018 12:25 PM | |
| 2862 | 11-27-2018 06:00 PM | |
| 2194 | 11-22-2018 03:42 PM | |
| 3567 | 11-20-2018 02:00 PM | |
| 6274 | 11-19-2018 03:24 PM |
01-16-2018
11:00 AM
@Lei Tang, Glad that it helped. Can you please accept the answer by clicking "Accept" button. This will be really useful for other community users to find the answer quickly
... View more
01-16-2018
10:43 AM
@Lei Tang, Currently Ambari doesn't allow passing monitoring type and port from GUI. You have to pass it through command line. Below is the snippet from (/var/lib/ambari-server/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py). You can see that monitoring type is added only when AMS is enabled. if params.has_metric_collector:
extra_args = '-Dflume.monitoring.type=org.apache.hadoop.metrics2.sink.flume.FlumeTimelineMetricsSink ' \
'-Dflume.monitoring.node={0}:{1}'
# TODO check if this is used.
extra_args = extra_args.format(params.metric_collector_host, params.metric_collector_port) If you want to hack it, you can put the values here in the file and restart ambari server . Thanks, Aditya
... View more
01-16-2018
08:57 AM
1 Kudo
@Anvesh Cherupalli, You will not be allowed to copy code scripts from your laptop. There will be a person who will be watching you. You will have to 1) Share your screen 2) Switch on your webcam before starting the exam. 3) Close all the running applications in your laptop and show your task manager. 4) Show the room to the person. Make sure no one enters the room while writing the exam. 5) Show an original ID proof. You will be provided with docs.hortonworks.com link. You cannot open any other links or google anything. Hope this helps. Please accept the answer if this answered your questions else revert back. All the best 🙂 Thanks, Aditya
... View more
01-16-2018
08:37 AM
@Lei Tang, Yes. You can add these properties. Check this link for more info Thanks, Aditya
... View more
01-16-2018
08:19 AM
@Anshuman Mehta This is a bug (https://hortonworks.jira.com/browse/EAR-7270) fixed in ambari 2.6.0.0. For now you can do a workaround by changing a file File: /usr/lib/ambari-agent/lib/resource_management/libraries/functions/get_lzo_packages.py
Change from-
else:
lzo_packages += [script_instance.format_package_name("hadooplzo_${stack_version}"),
script_instance.format_package_name("hadooplzo_${stack_version}-native")]
To
else:
lzo_packages += [script_instance.format_package_name("hadooplzo_2_6_2_2035"),
script_instance.format_package_name("hadooplzo_2_6_2_2035-native")] I have hardcoded to "hadooplzo_2_6_2_2035", but you can change it to the version installed in your system. Thanks, Aditya
... View more
01-12-2018
09:42 AM
1 Kudo
@Mario Borys, Try installing the package and run the script.Login to R shell and run the command # R
# install.packages('data.table') Thanks, Aditya
... View more
01-10-2018
01:15 PM
@Ravikiran Dasari, You can use sqoop saved jobs to do this. This will be handled automatically. http://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_saved_jobs
... View more
01-10-2018
10:59 AM
@Shyam Shaw, There should not be any issue because of this. Please check Error Handling in the doc https://community.hortonworks.com/articles/2473/rolling-upgrade-express-upgrade-in-ambari.html
... View more
01-10-2018
09:13 AM
@Ravikiran Dasari, Try passing '--last-value {last-batch-id}' also in the import command. Assume data is like this batchId col1 col2 col3 ---> col names
1 a b c -->records
2 a b c
3 a b c
4 d e f
5 d e f
6 d e f If you pass "--check-column batchId --last-value 3" . It will import all rows after the mentioned batchId. ie the below records will be imported. 4 d e f
5 d e f
6 d e f
... View more
01-10-2018
08:54 AM
@Shyam Shaw, Note: I haven't tried it myself but hope this should work. Please be cautious if you trying it on production cluster 1) Find the upgrade xml file on ambari server host. /var/lib/ambari-server/resources/stacks/HDP/2.5/upgrades/upgrade-2.6.xml 2) Comment out the following piece of code in the upgrade XML file and save it. This piece of code will occur thrice . SERVICE_CHECK_1, SERVICE_CHECK_2, SERVICE_CHECK_3. Comment all the 3. <group name="SERVICE_CHECK_1" title="All Service Checks" xsi:type="service-check">
<direction>UPGRADE</direction>
<skippable>true</skippable>
<priority>
<service>ZOOKEEPER</service>
<service>RANGER</service>
<service>RANGER_KMS</service>
<service>HDFS</service>
<service>KAFKA</service>
<service>YARN</service>
<service>MAPREDUCE2</service>
<service>HBASE</service>
</priority>
</group> 3): skip service check failures. Change it to true from false <skip-service-check-failures>true</skip-service-check-failures> 4) Restart Ambari Server for it to pick up the changes. ambari-server restart 5) Start rolling upgrade Thanks, Aditya
... View more