Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Issues installing Cloudera Manager 5.4.4

Highlighted

Issues installing Cloudera Manager 5.4.4

New Contributor

Hi,

 

Can anyone advise how to install Cloudera Manager 5.4.4 without having failures on the OOZIE DB Stage.

 

It seems to fail when trying to install sharelib everytime. When retrying the install it then complains that it cant create the DB tables because these already exist.

 

Details:

Failed to upload Oozie ShareLib.
Installing Oozie ShareLib in HDFS
Failed to execute command Install Oozie ShareLib on service Oozie

 

sterr

Error: File /user/oozie/share/lib/lib_20150728094501/spark/guava-14.0.1.jar could only be replicated to 0 nodes instead of minReplication (=1).  There are 0 datanode(s) running and no node(s) are excluded in this operation.
	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1541)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3289)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:668)
	at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.addBlock(AuthorizationProviderProxyClientProtocol.java:212)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:483)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:619)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1060)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2044)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2040)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2038)


Stack trace for the error was (for debug purposes):
--------------------------------------
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/oozie/share/lib/lib_20150728094501/spark/guava-14.0.1.jar could only be replicated to 0 nodes instead of minReplication (=1).  There are 0 datanode(s) running and no node(s) are excluded in this operation.
	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1541)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3289)
	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:668)
	at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.addBlock(AuthorizationProviderProxyClientProtocol.java:212)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:483)
	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:619)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1060)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2044)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2040)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2038)

	at org.apache.hadoop.ipc.Client.call(Client.java:1468)
	at org.apache.hadoop.ipc.Client.call(Client.java:1399)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
	at com.sun.proxy.$Proxy9.addBlock(Unknown Source)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:399)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
	at com.sun.proxy.$Proxy10.addBlock(Unknown Source)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:1544)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1361)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:600)
--------------------------------------

 stdout

the destination path for sharelib is: /user/oozie/share/lib/lib_20150728094501

 

Cheers

Mark

2 REPLIES 2
Highlighted

Re: Issues installing Cloudera Manager 5.4.4

New Contributor

Bump.

 

Any ideas?

 

Cheers

Mark

Re: Issues installing Cloudera Manager 5.4.4

New Contributor

I'm getting the same Symptom:

 

 

 

Start OOZIE-1

Completed only 0/1 steps. First failure: Failed to execute command Install Oozie ShareLib on service OOZIE-1

Feb 25, 10:39:32 PM 23.56s

Run 3 steps in sequence

Failed to execute command Install Oozie ShareLib on service OOZIE-1

Feb 25, 10:39:32 PM 23.56s

Create Oozie Database Tables

Oozie database tables created successfully.

OOZIE-1

Feb 25, 10:39:32 PM 7.46s

Install Oozie ShareLib

Failed to install Oozie ShareLib.

OOZIE-1

Feb 25, 10:39:40 PM 16.08s

Create Oozie ShareLib Root Dir

Successfully created HDFS directory.

OOZIE-1

Feb 25, 10:39:40 PM 11.85s

Upload Oozie ShareLib

Failed to upload Oozie ShareLib.

 

-----------------------------

LOG:

SERVER[cdh-mstr-ad295b79-1028-427c-881f-9d1e588dfa52.c.ivory-infinity-94615.internal] Using gz as output compression codec

Feb 25, 11:05:39.442 PM INFO org.apache.oozie.service.ActionService

SERVER[cdh-mstr-ad295b79-1028-427c-881f-9d1e588dfa52.c.ivory-infinity-94615.internal] Initialized action types: [hive, shell, :START:, :FORK:, switch, spark, ssh, hive2, pig, :END:, email, distcp, :KILL:, sub-workflow, fs, java, :JOIN:, sqoop, map-reduce]

Feb 25, 11:05:40.018 PM ERROR org.apache.oozie.service.ShareLibService

SERVER[cdh-mstr-ad295b79-1028-427c-881f-9d1e588dfa52.c.ivory-infinity-94615.internal] org.apache.oozie.service.ServiceException: E0104: Could not fully initialize service [org.apache.oozie.service.ShareLibService], Not able to cache sharelib. An Admin needs to install the sharelib with oozie-setup.sh and issue the 'oozie admin' CLI command to update the sharelib

org.apache.oozie.service.ServiceException: E0104: Could not fully initialize service [org.apache.oozie.service.ShareLibService], Not able to cache sharelib. An Admin needs to install the sharelib with oozie-setup.sh and issue the 'oozie admin' CLI command to update the sharelib

at org.apache.oozie.service.ShareLibService.init(ShareLibService.java:132)

at org.apache.oozie.service.Services.setServiceInternal(Services.java:386)

at org.apache.oozie.service.Services.setService(Services.java:372)

at org.apache.oozie.service.Services.loadServices(Services.java:305)

at org.apache.oozie.service.Services.init(Services.java:213)

at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:46)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

Don't have an account?
Coming from Hortonworks? Activate your account here