Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

i have a quesstion of hadoop-yarn-timelineserver,when i install it,it failer,and i need use mysql5.7,i don't know how to reslove it,please help me,thanks

New Contributor

2018-07-25 14:26:25,290 - Installing package hadoop_2_6_3_0_235-yarn ('/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_3_0_235-yarn')

2018-07-25 14:26:39,722 - Execution of '/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_3_0_235-yarn' returned 1. Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from installed mysql-community-libs-5.7.22-1.el7.x86_64
Error: Package: 2:postfix-2.10.1-6.el7.x86_64 (base)
           Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit)
Error: Package: 2:postfix-2.10.1-6.el7.x86_64 (base)
           Requires: libmysqlclient.so.18()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
2018-07-25 14:26:39,723 - Failed to install package hadoop_2_6_3_0_235-yarn. Executing '/usr/bin/yum clean metadata'
2018-07-25 14:26:39,944 - Retrying to install package hadoop_2_6_3_0_235-yarn after 30 seconds
2018-07-25 14:27:41,803 - call[('ambari-python-wrap', u'/usr/bin/hdp-select', 'versions')] {}
2018-07-25 14:27:41,834 - call returned (1, 'Traceback (most recent call last):\n  File "/usr/bin/hdp-select", line 446, in <module>\n    printVersions()\n  File "/usr/bin/hdp-select", line 286, in printVersions\n    for f in os.listdir(root):\nOSError: [Errno 2] No such file or directory: \'/usr/hdp\'')
2018-07-25 14:27:41,834 - The 'hadoop-yarn-timelineserver' component did not advertise a version. This may indicate a problem with the component packaging.
4 REPLIES 4

Explorer

@chen fan

What is the output of the following commands?

hdp-select | grep timelineserver
ls -lh /usr/hdp/current/hadoop-yarn-timelineserver 

New Contributor

[root@ha-centos7-3 software]# hdp-select | grep timelineserver

hadoop-yarn-timelineserver - 2.6.3.0-235

[root@ha-centos7-3 software]# ls -lh /usr/hdp/current/hadoop-yarn-timelineserver lrwxrwxrwx 1 root root 32 Jul 25 16:23 /usr/hdp/current/hadoop-yarn-timelineserver -> /usr/hdp/2.6.3.0-235/hadoop-yarn

Explorer
@chen fan

I believe that the issue lies on the repo files, are you using an internal repo server or you have connection to the internet?

Our repo points to the external mysql-community libs to download. You may need to pre-install the correct version of mysql

Can you show me the contents of /etc/yum.repos.d/* ?

New Contributor

[root@ha-centos7-3 ~]# ll /etc/yum.repos.d/

total 56

-rw-r--r-- 1 root root 276 Jul 25 16:30 ambari-hdp-1.repo

-rw-r--r-- 1 root root 469 Jul 25 17:23 ambari-hdp-51.repo

-rw-r--r--. 1 root root 390 Jul 25 10:51 ambari.repo

-rw-r--r--. 1 root root 1664 May 17 21:53 CentOS-Base.repo

-rw-r--r--. 1 root root 1309 May 17 21:53 CentOS-CR.repo

-rw-r--r--. 1 root root 649 May 17 21:53 CentOS-Debuginfo.repo

-rw-r--r--. 1 root root 314 May 17 21:53 CentOS-fasttrack.repo

-rw-r--r--. 1 root root 630 May 17 21:53 CentOS-Media.repo

-rw-r--r--. 1 root root 1331 May 17 21:53 CentOS-Sources.repo

-rw-r--r--. 1 root root 4768 May 17 21:53 CentOS-Vault.repo

-rw-r--r--. 1 root root 731 Jul 25 14:03 hdp.repo

-rw-r--r-- 1 root root 1864 Jul 25 16:30 mysql-community.repo

-rw-r--r-- 1 root root 1885 Jul 25 16:30 mysql-community-source.repo

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.