Created 12-10-2015 06:55 PM
Created 12-10-2015 09:42 PM
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.
Created 12-10-2015 07:31 PM
@Avraha Zilberman Please paste log messages from HBASE logs and region servers
Created 12-10-2015 09:03 PM
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
Created 12-10-2015 09:05 PM
Logs from master pasted part of it but these are the exceptions I have
Created 12-16-2015 05:39 PM
Post truncated as the messages were repeated...
Created 02-02-2016 07:35 PM
@Avraha Zilberman are you still having issues with this? Can you accept best answer or provide your own solution?
Created 12-10-2015 09:42 PM
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.
Created 02-02-2016 07:41 PM
the mchine is a2
I still have problems of crashing.
And i just restart the machine once a day
i
Created 02-02-2016 08:10 PM
@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?
Created 02-02-2016 08:23 PM
How do I ensure this?
Created 02-02-2016 08:25 PM
@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.
Created 02-02-2016 08:28 PM
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.
Created 02-02-2016 08:31 PM
Created 02-02-2016 08:33 PM
Thank you very much, If I find solution I will write my experience here.
Created 02-02-2016 08:36 PM
@Avraha Zilberman Perfect! Please publish it as an article