Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

I have Hortonworks sandbox on azure . HBase crashes all the time and I have to restart the machine all the time is there a solution for this?

avatar
Contributor
 
1 ACCEPTED SOLUTION

avatar
Rising Star

Hi @Avraha Zilberman, what machine did you choose for Sandbox offering on Azure A4? Also, I would like to suggest if you can edit your previous posting of the error and just have a small snippet of the error stack and put the full log in a file. It will prevent having to scroll down to get to the next post.

View solution in original post

14 REPLIES 14

avatar

@Avraha Zilberman Please paste log messages from HBASE logs and region servers

avatar
Contributor

2015-12-10 16:55:39,949 ERROR [Thread-74] util.PolicyRefresher: PolicyRefresher(serviceName=sandbox_hbase): failed to refresh policies. Will continue to use last known version of policies (4)

com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused

at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)

at com.sun.jersey.api.client.Client.handle(Client.java:648)

at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)

at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)

at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:71)

at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:205)

at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:175)

at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:154)

Caused by: java.net.ConnectException: Connection refused

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

at java.net.Socket.connect(Socket.java:579)

at sun.net.NetworkClient.doConnect(NetworkClient.java:175)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)

at sun.net.www.http.HttpClient.New(HttpClient.java:308)

at sun.net.www.http.HttpClient.New(HttpClient.java:326)

at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)

at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)

at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)

at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)

at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)

... 8 more

2015-12-10 16:55:44,547 INFO [timeline] httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused

2015-12-10 16:55:44,547 INFO [timeline] httpclient.HttpMethodDirector: Retrying request

2015-12-10 16:55:44,548 INFO [timeline] httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused

2015-12-10 16:55:44,548 INFO [timeline] httpclient.HttpMethodDirector: Retrying request

2015-12-10 16:55:44,548 INFO [timeline] httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused

2015-12-10 16:55:44,548 INFO [timeline] httpclient.HttpMethodDirector: Retrying request

2015-12-10 16:55:44,548 WARN [timeline] timeline.HadoopTimelineMetricsSink: Unable to send metrics to collector by address:http://sandbox.hortonworks.com:6188/ws/v1/timeline/metrics

avatar
Contributor

Logs from master pasted part of it but these are the exceptions I have

avatar

Post truncated as the messages were repeated...

avatar
Mentor

@Avraha Zilberman are you still having issues with this? Can you accept best answer or provide your own solution?

avatar
Rising Star

Hi @Avraha Zilberman, what machine did you choose for Sandbox offering on Azure A4? Also, I would like to suggest if you can edit your previous posting of the error and just have a small snippet of the error stack and put the full log in a file. It will prevent having to scroll down to get to the next post.

avatar
Contributor

the mchine is a2

I still have problems of crashing.

And i just restart the machine once a day

i

avatar
Mentor

@Avraha Zilberman you need to make sure your endpoints are open for hbase and all other products. Please look at our documentation for port information. The doc is for Windows but should be applicable for ports on Linux as well. Is your firewall up?

avatar
Contributor

How do I ensure this?

avatar
Mentor

@Avraha Zilberman before doing anything involved, try to create a new machine and use it. If there are no issues there, you can safely remove it. If you continue to have the same problem, you will have to look at Azure documentation. We actually have good step-by-step guides here for using Sandbox on Azure.

avatar
Contributor

Thanks ,

I have already created new machine and I get the same effect.

Can you please put a link to the azure documentation I will need it because on the next following weeks I will put my app on beta.

avatar
Mentor

avatar
Contributor

Thank you very much, If I find solution I will write my experience here.

avatar

@Avraha Zilberman Perfect! Please publish it as an article

Labels