[jira] [Work logged] (HIVE-21409) Initial SessionState ClassLoader Reused For Subsequent Sessions

2019-03-21 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21409?focusedWorklogId=217061=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-217061
 ]

ASF GitHub Bot logged work on HIVE-21409:
-

Author: ASF GitHub Bot
Created on: 21/Mar/19 22:57
Start Date: 21/Mar/19 22:57
Worklog Time Spent: 10m 
  Work Description: shawnweeks commented on issue #575: HIVE-21409 Add Jars 
to Session Conf ClassLoader
URL: https://github.com/apache/hive/pull/575#issuecomment-475433844
 
 
   Closing this as this breaks Ranger. Will continue troubleshooting.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 217061)
Time Spent: 0.5h  (was: 20m)

> Initial SessionState ClassLoader Reused For Subsequent Sessions
> ---
>
> Key: HIVE-21409
> URL: https://issues.apache.org/jira/browse/HIVE-21409
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 1.2.1
>Reporter: Shawn Weeks
>Priority: Minor
>  Labels: pull-request-available
> Attachments: create_class.sql, run.sql, setup.sql
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> It appears that the first ClassLoader attached to a SessionState Static 
> Instance is being reused as the parent for all future sessions. This causes 
> any libraries added to the class path on the initial session to be added to 
> future sessions. It also appears that further sessions may be adding jars to 
> this initial ClassLoader as well leading to the class path getting more and 
> more polluted. This occurring on a build including HIVE-11878. I've included 
> some examples that greatly exaggerate the problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Work logged] (HIVE-21409) Initial SessionState ClassLoader Reused For Subsequent Sessions

2019-03-21 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21409?focusedWorklogId=217062=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-217062
 ]

ASF GitHub Bot logged work on HIVE-21409:
-

Author: ASF GitHub Bot
Created on: 21/Mar/19 22:57
Start Date: 21/Mar/19 22:57
Worklog Time Spent: 10m 
  Work Description: shawnweeks commented on pull request #575: HIVE-21409 
Add Jars to Session Conf ClassLoader
URL: https://github.com/apache/hive/pull/575
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 217062)
Time Spent: 40m  (was: 0.5h)

> Initial SessionState ClassLoader Reused For Subsequent Sessions
> ---
>
> Key: HIVE-21409
> URL: https://issues.apache.org/jira/browse/HIVE-21409
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 1.2.1
>Reporter: Shawn Weeks
>Priority: Minor
>  Labels: pull-request-available
> Attachments: create_class.sql, run.sql, setup.sql
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> It appears that the first ClassLoader attached to a SessionState Static 
> Instance is being reused as the parent for all future sessions. This causes 
> any libraries added to the class path on the initial session to be added to 
> future sessions. It also appears that further sessions may be adding jars to 
> this initial ClassLoader as well leading to the class path getting more and 
> more polluted. This occurring on a build including HIVE-11878. I've included 
> some examples that greatly exaggerate the problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Work logged] (HIVE-21409) Initial SessionState ClassLoader Reused For Subsequent Sessions

2019-03-20 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21409?focusedWorklogId=216567=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-216567
 ]

ASF GitHub Bot logged work on HIVE-21409:
-

Author: ASF GitHub Bot
Created on: 21/Mar/19 02:14
Start Date: 21/Mar/19 02:14
Worklog Time Spent: 10m 
  Work Description: shawnweeks commented on issue #575: HIVE-21409 Add Jars 
to Session Conf ClassLoader
URL: https://github.com/apache/hive/pull/575#issuecomment-475092978
 
 
   I suspect I should be doing the same thing for unregisterJar as it has the 
risk of overwriting the classloader in SessionState.get().getConf() as well.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 216567)
Time Spent: 20m  (was: 10m)

> Initial SessionState ClassLoader Reused For Subsequent Sessions
> ---
>
> Key: HIVE-21409
> URL: https://issues.apache.org/jira/browse/HIVE-21409
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 1.2.1
>Reporter: Shawn Weeks
>Priority: Minor
>  Labels: pull-request-available
> Attachments: create_class.sql, run.sql, setup.sql
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> It appears that the first ClassLoader attached to a SessionState Static 
> Instance is being reused as the parent for all future sessions. This causes 
> any libraries added to the class path on the initial session to be added to 
> future sessions. It also appears that further sessions may be adding jars to 
> this initial ClassLoader as well leading to the class path getting more and 
> more polluted. This occurring on a build including HIVE-11878. I've included 
> some examples that greatly exaggerate the problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Work logged] (HIVE-21409) Initial SessionState ClassLoader Reused For Subsequent Sessions

2019-03-20 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21409?focusedWorklogId=216565=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-216565
 ]

ASF GitHub Bot logged work on HIVE-21409:
-

Author: ASF GitHub Bot
Created on: 21/Mar/19 01:56
Start Date: 21/Mar/19 01:56
Worklog Time Spent: 10m 
  Work Description: shawnweeks commented on pull request #575: HIVE-21409 
Add Jars to Session Conf ClassLoader
URL: https://github.com/apache/hive/pull/575
 
 
   It is possible that the current threads classloader may be modified after 
the sessionstate hiveconf has been attached to the current thread. This ensure 
we are always adding jars to the correct class loader.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 216565)
Time Spent: 10m
Remaining Estimate: 0h

> Initial SessionState ClassLoader Reused For Subsequent Sessions
> ---
>
> Key: HIVE-21409
> URL: https://issues.apache.org/jira/browse/HIVE-21409
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 1.2.1
>Reporter: Shawn Weeks
>Priority: Minor
>  Labels: pull-request-available
> Attachments: create_class.sql, run.sql, setup.sql
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> It appears that the first ClassLoader attached to a SessionState Static 
> Instance is being reused as the parent for all future sessions. This causes 
> any libraries added to the class path on the initial session to be added to 
> future sessions. It also appears that further sessions may be adding jars to 
> this initial ClassLoader as well leading to the class path getting more and 
> more polluted. This occurring on a build including HIVE-11878. I've included 
> some examples that greatly exaggerate the problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)