0 votes
When running  ./dku hive-import -l  <db name> I get error

com.dataiku.common.server.APIError$APIErrorException: com.dataiku.hproxy.client.HProxyException: HProxyException
        at com.dataiku.common.apiclient.InternalAPIClient.handleJSONResp(InternalAPIClient.java:498)
        at com.dataiku.common.apiclient.InternalAPIClient.postFormToJSON(InternalAPIClient.java:250)
        at com.dataiku.dip.cli.HiveImportCommand.execute(HiveImportCommand.java:43)
        at com.dataiku.dip.cli.DKU.dispatchOnCommand(DKU.java:110)
        at com.dataiku.dip.cli.DKU.main(DKU.java:177)

In fact hive-import does not work at all for me in DSS 2.2
asked by

1 Answer

0 votes
Hi,

Can you have a look at the run/hproxy.log file ? Don't hesitate to attach it here.

If you see errors like connection reset / EOF / ..., you might want to try restarting the hproxy process: ./bin/dss restart hproxy
answered by
I see these errors in hrpoxy.log:

[2015/12/07-15:03:12.382] [qtp1852410327-52] [INFO] [com.dataiku.hproxy.server.servlets.BaseServlet]  - Call failed
java.lang.NullPointerException
        at com.dataiku.hproxy.server.servlets.HiveExecutorServlet.handleDdlShowTables(HiveExecutorServlet.java:209)
        at com.dataiku.hproxy.server.servlets.HiveExecutorServlet.serviceCall(HiveExecutorServlet.java:104)
        at com.dataiku.hproxy.server.servlets.BaseServlet.service(BaseServlet.java:60)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:717)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1110)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1044)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
        at org.eclipse.jetty.server.Server.handle(Server.java:459)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
        at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
        at java.lang.Thread.run(Thread.java:745)
This is probably the result of an unproperly caught earlier error . Can you attach the complete file ? (You can send it by mail to [email protected] if you want)
840 questions
866 answers
811 comments
992 users