[ 
https://issues.apache.org/jira/browse/LENS-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Archana H reopened LENS-1140:
-----------------------------

> Merging session jar with DB resources fails if session jar is in HDFS
> ---------------------------------------------------------------------
>
>                 Key: LENS-1140
>                 URL: https://issues.apache.org/jira/browse/LENS-1140
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>         Attachments: LENS-1140.2.patch
>
>
> Scenario :
> DB db1 has DB resources.
> User does the following :
> {code}
> use db1
> add jar hdfs://myhdfs/tmp/mynew.jar
> {code}
> Server fails to add it to classpath. Here is the server log :
> {noformat}
> org.apache.lens.server.AuthenticationFilter - Request from user: null , 
> path=session/resources/add
> lensserver.log.2016-05-05.178:05 May 2016 11:01:41 
> [d302a498-4136-4fdb-91b8-c24777ac407e] [grizzly-http-server-24] INFO  
> org.apache.hive.service.cli.operation.Operation - Putting temp output to file 
> /tmp/lens/946c79fc-7dea-44e3-8b96-44e4a3acf4897870923792886226589.pipeout
> lensserver.log.2016-05-05.178:05 May 2016 11:01:41 
> [d302a498-4136-4fdb-91b8-c24777ac407e] [grizzly-http-server-24] INFO  
> SessionState - converting to local hdfs://myhdfs/tmp/mynew.jar
> lensserver.log.2016-05-05.178:05 May 2016 11:01:52 
> [d302a498-4136-4fdb-91b8-c24777ac407e] [grizzly-http-server-24] INFO  
> SessionState - Added 
> /tmp/946c79fc-7dea-44e3-8b96-44e4a3acf489_resources/mynew.jar to class path
> lensserver.log.2016-05-05.178:05 May 2016 11:01:52 
> [d302a498-4136-4fdb-91b8-c24777ac407e] [grizzly-http-server-24] INFO  
> SessionState - Added resource: 
> /tmp/946c79fc-7dea-44e3-8b96-44e4a3acf489_resources/mynew.jar
> lensserver.log.2016-05-05.178:05 May 2016 11:01:52 
> [d302a498-4136-4fdb-91b8-c24777ac407e] [grizzly-http-server-24] ERROR 
> org.apache.lens.server.session.DatabaseResourceService - Invalid URL 
> hdfs://myhdfs/tmp/mynew.jar adding to db db1
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to