Here is another problem. Roles don't start after resrting cluster.
I suppose that Cloudera Manager tries to start parcel based roles but
nobody did stop package-based software components.
12:36:47.815INFOorg.apache.hadoop.mapred.TaskTracker
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down TaskTracker at node02.lol.ru/10.66.48.104
************************************************************/
12:36:52.997INFOorg.apache.hadoop.mapred.TaskTracker
STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting TaskTracker
STARTUP_MSG: host = node02.lol.ru/10.66.48.104
STARTUP_MSG: args = []
STARTUP_MSG: version = 2.0.0-mr1-cdh4.2.1
STARTUP_MSG: classpath = /var/run/cloudera-scm-agent/process/1013-mapreduce-TASKTRACKER:/usr/java/jdk1.6.0_37/lib/tools.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/hadoop-core-2.0.0-mr1-cdh4.2.1.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/lib/activation-1.1.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/lib/ant-contrib-1.0b3.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/lib/asm-3.2.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/lib/aspectjrt-1.6.5.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/lib/aspectjtools-1.6.5.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/lib/avro-1.7.3.jar:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5/lib/hadoop-0.20-mapreduce/lib/avro-compiler-1.7.3.jar
2:36:55.168WARNorg.apache.hadoop.mapred.TaskTracker
TaskTracker's totalMemoryAllottedForTasks is -1 and reserved physical memory is not configured. TaskMemoryManager is disabled.
12:36:55.213INFOorg.apache.hadoop.mapred.IndexCache
IndexCache created with max memory = 10485760
12:36:55.229INFOorg.apache.hadoop.http.HttpServer
HttpServer.start() threw a non Bind IOException
java.net.BindException: Port in use: 0.0.0.0:50060
at org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:729)
at org.apache.hadoop.http.HttpServer.start(HttpServer.java:673)
at org.apache.hadoop.mapred.TaskTracker.(TaskTracker.java:4041)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
at org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:725)
... 3 more
12:36:55.232ERRORorg.apache.hadoop.mapred.TaskTracker
Can not start task tracker because java.net.BindException: Port in use: 0.0.0.0:50060
at org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:729)
at org.apache.hadoop.http.HttpServer.start(HttpServer.java:673)
at org.apache.hadoop.mapred.TaskTracker.(TaskTracker.java:4041)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:216)
at org.apache.hadoop.http.HttpServer.openListener(HttpServer.java:725)
... 3 more
12:36:55.236INFOorg.apache.hadoop.mapred.TaskTracker
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down TaskTracker at node02.lol.ru/10.66.48.104
************************************************************/
среда, 8 мая 2013 г., 10:56:33 UTC+4 пользователь Herman Chen написал:
It looks like CM upgrade to 4.5.2 was successful. To answer your earlier
question, CM server/agent/daemons always use packages, never parcels.
As for the CDH4 services that you have been running since CM 4.1.3, they
should still be on packages if you have not explicitly migrated them over
to parcels. The parcel distribution that you saw only distribute the bits,
but would not impact your services until parcel is actually activated, so
don't worry.
Herman
On Tue, May 7, 2013 at 11:49 PM, Serega Sheypak <
[email protected]<javascript:>
wrote:
Now Host inspector reports:
*Group 1 (CDH4) (it's only one group)* Hosts all my nodes listed here! *
Component* Version CDH Version Flume NG1.3.0+96 CDH4 MapReduce 1 (CDH4
only)0.20.2+1359 CDH4 HDFS (CDH4 only)2.0.0+960 CDH4 HttpFS (CDH4 only)
2.0.0+960 CDH4 MapReduce 2 (CDH4 only)2.0.0+960 CDH4 Yarn (CDH4 only)
2.0.0+960 CDH4 Hadoop2.0.0+960 CDH4 HBase0.94.2+218 CDH4label.cdhVersionTable.hcatalog
0.4.0+218 CDH4 Hive0.10.0+78 CDH4 Mahout0.7+15 CDH4 Oozie3.3.0+79 CDH4Pig
0.10.0+510 CDH4 Sqoop1.4.2+60 CDH4 Sqoop2 (CDH4 only)1.99.1+33 CDH4 Whirr
0.8.0+26 CDH4 Zookeeper3.4.5+16 CDH4 Impala1.0 Not applicable Cloudera
Manager Management Daemons4.5.2 Not applicable Cloudera Manager Agent
4.5.2 Not applicable
Looks like everything is fine!
2013/5/8 Serega Sheypak <
[email protected] <javascript:>>
OMG,
I've used puppet to restart cloudera-scm-agents on all nodes. I did only
this and nothing more.
BEFORE I've tried to re-run host upgrade wizard. It didn't help, you can
see result in previous leter.
Now Cloudera manager reports that it's distributing parcels for CDH
4.5.2 and impala 1.0.x
What;s going on...?
2013/5/8 Serega Sheypak <
[email protected] <javascript:>>
Hi.
Prev installation was 4.1.3 and based on RPMs
The next one upgrade 4.1.3 -> 4.5.2 should be parcel based (???)
I've tried to re-run host upgrade several times. It doesn't help.
How can I determine: is my CDH package or parcel based now?
2013/5/8 Philip Langdale <
[email protected] <javascript:>>
I'd recommend re-running the host upgrade wizard. If this had run
originally, it should have upgraded and restarted. The incorrect version
more strongly implies the wizard did not run to completion, so we can't be
sure the packages were upgraded.
The button for this is on the Hosts page.
--phil
On 7 May 2013 14:02, Darren Lo <
[email protected] <javascript:>>wrote:
The host upgrade wizard should have done this for you. If this
version mismatch causes you problems, you can probably use cssh to
simultaneously connect to all 10 hosts and run: sudo service
cloudera-scm-agent restart
On Tue, May 7, 2013 at 1:41 PM, Serega Sheypak <
[email protected]<javascript:>
wrote:
Directly - no! How can I do that? I would like to avoid manual
intervention to 10 diffrent hosts.
2013/5/8 Darren Lo <
[email protected] <javascript:>>
Did you restart the agents after upgrading them?
On Tue, May 7, 2013 at 12:57 PM, Serega Sheypak <
[email protected] <javascript:>> wrote:
Hi, I'm trying to upgrade UAT cluster (13 nodes) from CM 4.1.3 to
CM 4.5.2
I have run host upgrade wizard and got messages which confused me:
Inspector ran on all 13 hosts. Individual hosts resolved their
own hostnames correctly. No errors were found while looking for
conflicting init scripts. No errors were found while checking
/etc/hosts. All hosts resolved localhost to 127.0.0.1. All hosts
checked resolved each other's hostnames correctly. Host clocks
are approximately in sync (within ten minutes). Host time zones
are consistent across the cluster. No users or groups are missing. No
kernel versions that are known to be bad are running. 0 hosts are
running CDH3 and 13 hosts are running CDH4. There are mismatched
versions across the system. See details below for details on which hosts
are running what versions of components. All checked Cloudera
Management Daemons versions are consistent with the server. Some
Cloudera Management Agents are installed with a differing version from the
server. Check package versions in the tables below.
Here
*Group 1 (CDH4)* Hosts node01.lol.ru, node02.lol.ru,
node09.lol.ru, node10.lol.ru, node11.lol.ru *Component* VersionCDH VersionImpala
Unavailable Not installed or path incorrect HDFS (CDH4 only)
2.0.0+556 CDH4 Hue Plugins2.1.0+223 CDH4 MapReduce 2 (CDH4 only)
2.0.0+556 CDH4 HBase0.92.1+165 CDH4 Oozie3.2.0+134 CDH4 Yarn
(CDH4 only)2.0.0+556 CDH4 Zookeeper3.4.3+32 CDH4 Hue2.1.0+223 CDH4MapReduce 1 (CDH4 only)
0.20.2+1270 CDH4 HttpFS (CDH4 only)2.0.0+556 CDH4 Hadoop2.0.0+556CDH4Hive
0.9.0+158 CDH4 Flume NG1.2.0+126 CDH4 Cloudera Manager Management
Daemons4.5.2 Not applicable *Cloudera Manager Agent* *4.1.3* *Not
applicable*
let's go to host node01.and see there:
[
[email protected] ~]$ rpm -qa | grep cloud
cloudera-manager-agent-4.5.2-1.cm452.p0.327.x86_64
cloudera-manager-daemons-4.5.2-1.cm452.p0.327.x86_64
Why Cloudera Manager reports that node01 has *agent-4.1.3* but
rpm utility says that it's *4.5.2*
--
Thanks,
Darren
--
Thanks,
Darren