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.

Running cloudbreak shell causes HTTP 401 unauthorized exception

Highlighted

Running cloudbreak shell causes HTTP 401 unauthorized exception

Explorer

I am trying to run the cloudbreak shell after installing cloudbreak on my machine but it keeps throwing this error:

Welcome to Cloudbreak Shell. For command and param completion press TAB, for assistance type 'hint'.
Can't connect to Cloudbreak
javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1002)
	at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:877)
	at org.glassfish.jersey.client.JerseyInvocation.access$800(JerseyInvocation.java:92)
	at org.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:722)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:718)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:430)
	at org.glassfish.jersey.client.proxy.WebResourceFactory.invoke(WebResourceFactory.java:345)
	at com.sun.proxy.$Proxy48.getPublics(Unknown Source)
	at com.sequenceiq.cloudbreak.shell.CloudbreakShell.initResourceAccessibility(CloudbreakShell.java:162)
	at com.sequenceiq.cloudbreak.shell.CloudbreakShell.init(CloudbreakShell.java:119)
	at com.sequenceiq.cloudbreak.shell.CloudbreakShell.onShellStatusChange(CloudbreakShell.java:108)
	at org.springframework.shell.event.AbstractShellStatusPublisher.setShellStatus(AbstractShellStatusPublisher.java:76)
	at org.springframework.shell.event.AbstractShellStatusPublisher.setShellStatus(AbstractShellStatusPublisher.java:57)
	at org.springframework.shell.core.JLineShell.run(JLineShell.java:151)
	at java.lang.Thread.run(Thread.java:745)

Does anyone know what might be causing this?

2 REPLIES 2
Highlighted

Re: Running cloudbreak shell causes HTTP 401 unauthorized exception

Expert Contributor

How do you running cloudbreak shell ? (what is the command that you are using?)

Br,

R

Highlighted

Re: Running cloudbreak shell causes HTTP 401 unauthorized exception

Explorer

I'm simply running 'cbd util cloudbreak-shell'

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