Member since
01-24-2017
68
Posts
7
Kudos Received
0
Solutions
02-08-2018
06:24 PM
I am building am mpack for a service I would like to install in Ambari. The mpack installed properly but the alerts are not accurate. I tried to modify the alerts.json several times to fix the issue but Ambari keeps using the original version of the alerts.json. I restarted Ambari server several times but nothing worked. How would I force Ambari to use the newly modified alerts.json Best, Theyaa.
... View more
Labels:
- Labels:
-
Apache Ambari
01-18-2018
04:10 PM
I have configured knox to work with two hiveserver2 instances and during my testing I connected to hive through knox using beeline. Then stopped the current hiveserver2 and ran a query in beeline. I can see that knox did fail over to the second one, but my query through a 500 error. Looking into hiveserver2 log I saw the following error. 2018-01-17 14:14:38,611 WARN servlet.ServletHandler (ServletHandler.java:doHandle(546)) - /cliservice
java.lang.IllegalArgumentException: Invalid sign, original = Qp+dxp0/PGiidNY7TWAHYo4nlJs= current = XaZLVoAJAF+88lAl9Z/9VYXWeg0=
at org.apache.hive.service.CookieSigner.verifyAndExtract(CookieSigner.java:85)
at org.apache.hive.service.cli.thrift.ThriftHttpServlet.getClientNameFromCookie(ThriftHttpServlet.java:253)
at org.apache.hive.service.cli.thrift.ThriftHttpServlet.validateCookie(ThriftHttpServlet.java:309)
at org.apache.hive.service.cli.thrift.ThriftHttpServlet.doPost(ThriftHttpServlet.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:349)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:925)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:952)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
The following article talks about the same exact issue : https://community.hortonworks.com/content/supportkb/150288/error-opening-sessionorgapachethrifttransportttran.html But, That solution is not optimal as it defeats the purpose of have HA configuration if I have to bounce knox server everytime a hiveserver2 goes down. Also the Jira ticket mentioned in it does not exist. Does anyone has a better solution or suggestion?
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Knox
12-15-2017
06:01 PM
I tried your suggestion and it seems to work when the transport mode is binary but it does not when transport mode is http. Is this a bug need to be reported? or there is a different config for the http transport mode?
... View more
12-14-2017
04:31 PM
@Aditya Sirna I tried your suggestion but it does not seem to work at all. Hive Server2 is still listening on all hosts according to below. I wanted to listen to localhost/127.0.0.1 instead of the *. LISTEN 0 50 *:10001 *:* users:(("java",2232873,540))
... View more
12-14-2017
12:17 AM
Is there a way to make Hiveserver2 listen to 127.0.0.1 or localhost? I am installing a separate hiveserver2 instance to be used by an application running on an edge node and I want to restrict access to that hiveserver2 instance to only queries coming from that application.
... View more
Labels:
- Labels:
-
Apache Hive
11-03-2017
04:55 PM
Is there a way to limit access to WebHDFS to only users coming from certain hosts? Something similar to hadoop.proxyuser
... View more
Labels:
- Labels:
-
Apache Hadoop
05-30-2017
11:28 AM
I have seen several posts referring to this page: https://lucidworks.com/2014/12/01/solr-yarn/ . As a solution to run Solr indexing on Yarn. those posts, and the solution, are couple years old. So, I am wondering if there has been any improvements on running Solr on Yarn in HDP? The solution on the link above does not run Solr as a service in ambari, but rather outside the HDP cluster since it is run on the command line and not managed by Ambari. Any solution to this please?
... View more
Labels:
05-10-2017
03:17 PM
As simple as adding quotes!
... View more
05-10-2017
01:56 PM
I upgraded to Ambari 2.4.2 and the same issue. In order to replicate the issue, you need to call that url using curl and not the browser. Something like: curl -u admin:admin -H "X-Requested-By:ambari" -X GET http://localhost:8080/api/v1/clusters/Sandbox/host_components?HostRoles/stale_configs=true&fields=HostRoles/service_name
... View more