[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2018-09-28 Thread Rohini Palaniswamy (JIRA)


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

Rohini Palaniswamy updated PIG-3038:

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

+1. Committed to trunk.

> Support for Credentials for UDF,Loader and Storer
> -
>
> Key: PIG-3038
> URL: https://issues.apache.org/jira/browse/PIG-3038
> Project: Pig
>  Issue Type: New Feature
>Affects Versions: 0.10.0
>Reporter: Rohini Palaniswamy
>Assignee: Satish Subhashrao Saley
>Priority: Major
> Fix For: 0.18.0
>
> Attachments: PIG-3038-5.patch
>
>
>   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
> token, hcat/hive metastore token) to Job and retrieving it.



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


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2018-09-26 Thread Satish Subhashrao Saley (JIRA)


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

Satish Subhashrao Saley updated PIG-3038:
-
Attachment: PIG-3038-5.patch

> Support for Credentials for UDF,Loader and Storer
> -
>
> Key: PIG-3038
> URL: https://issues.apache.org/jira/browse/PIG-3038
> Project: Pig
>  Issue Type: New Feature
>Affects Versions: 0.10.0
>Reporter: Rohini Palaniswamy
>Assignee: Satish Subhashrao Saley
>Priority: Major
> Fix For: 0.18.0
>
> Attachments: PIG-3038-5.patch
>
>
>   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
> token, hcat/hive metastore token) to Job and retrieving it.



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


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2018-09-21 Thread Satish Subhashrao Saley (JIRA)


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

Satish Subhashrao Saley updated PIG-3038:
-
Status: Patch Available  (was: Open)

> Support for Credentials for UDF,Loader and Storer
> -
>
> Key: PIG-3038
> URL: https://issues.apache.org/jira/browse/PIG-3038
> Project: Pig
>  Issue Type: New Feature
>Affects Versions: 0.10.0
>Reporter: Rohini Palaniswamy
>Assignee: Satish Subhashrao Saley
>Priority: Major
> Fix For: 0.18.0
>
>
>   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
> token, hcat/hive metastore token) to Job and retrieving it.



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


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2017-05-26 Thread Rohini Palaniswamy (JIRA)

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

Rohini Palaniswamy updated PIG-3038:

Fix Version/s: (was: 0.17.0)
   0.18.0

> Support for Credentials for UDF,Loader and Storer
> -
>
> Key: PIG-3038
> URL: https://issues.apache.org/jira/browse/PIG-3038
> Project: Pig
>  Issue Type: New Feature
>Affects Versions: 0.10.0
>Reporter: Rohini Palaniswamy
> Fix For: 0.18.0
>
>
>   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
> token, hcat/hive metastore token) to Job and retrieving it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2015-04-28 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-3038:

Fix Version/s: (was: 0.15.0)
   0.16.0

 Support for Credentials for UDF,Loader and Storer
 -

 Key: PIG-3038
 URL: https://issues.apache.org/jira/browse/PIG-3038
 Project: Pig
  Issue Type: New Feature
Affects Versions: 0.10.0
Reporter: Rohini Palaniswamy
 Fix For: 0.16.0


   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
 token, hcat/hive metastore token) to Job and retrieving it.



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


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2014-10-09 Thread Rohini Palaniswamy (JIRA)

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

Rohini Palaniswamy updated PIG-3038:

Fix Version/s: (was: 0.14.0)
   0.15.0

  Moving this to 0.15. We should get this done sooner to avoid the numerous 
hacks and workarounds being doing to deal with Credentials. Since we are 
dropping support for Hadoop 0.20.2 in 0.14, this will be more easier to do now. 

 Support for Credentials for UDF,Loader and Storer
 -

 Key: PIG-3038
 URL: https://issues.apache.org/jira/browse/PIG-3038
 Project: Pig
  Issue Type: New Feature
Affects Versions: 0.10.0
Reporter: Rohini Palaniswamy
 Fix For: 0.15.0


   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
 token, hcat/hive metastore token) to Job and retrieving it.



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


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2014-05-27 Thread Aniket Mokashi (JIRA)

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

Aniket Mokashi updated PIG-3038:


Fix Version/s: (was: 0.13.0)
   0.14.0

 Support for Credentials for UDF,Loader and Storer
 -

 Key: PIG-3038
 URL: https://issues.apache.org/jira/browse/PIG-3038
 Project: Pig
  Issue Type: New Feature
Affects Versions: 0.10.0
Reporter: Rohini Palaniswamy
 Fix For: 0.14.0


   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
 token, hcat/hive metastore token) to Job and retrieving it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2013-09-25 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-3038:


Fix Version/s: (was: 0.12.0)
   0.13.0

 Support for Credentials for UDF,Loader and Storer
 -

 Key: PIG-3038
 URL: https://issues.apache.org/jira/browse/PIG-3038
 Project: Pig
  Issue Type: New Feature
Affects Versions: 0.10.0
Reporter: Rohini Palaniswamy
 Fix For: 0.13.0


   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
 token, hcat/hive metastore token) to Job and retrieving it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (PIG-3038) Support for Credentials for UDF,Loader and Storer

2012-11-07 Thread Rohini Palaniswamy (JIRA)

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

Rohini Palaniswamy updated PIG-3038:


Summary: Support for Credentials for UDF,Loader and Storer  (was: Support 
for Credentials for UDF/Loader/Storer)

Currently it is possible to add Credentials in LoadFunc (in the Job passed to 
setLocation) and StoreFunc (in the Job passed to setStoreLocation). In case of 
StoreFunc, the Job passed is different everytime for the 3 calls to 
setStoreLocation made in front end and only the Credentials set during the call 
to setStoreLocation from PigOutputFormat.checkOutputSpecs take effect. That is 
very obscure and needs people to know the internals of the working of pig to 
get it working.

  UDFs(EvalFunc) on the other had have no API in them where the Job is passed 
and Credentials can be added. Users will have to serialize and store the 
credentials in UDFProperties and retrieve from there which is not secure.

Proposal:
  Add a getCredentials() API to UDFContext similar to JobConf.getCredentials(). 
Users can add their tokens to the Credentials object returned. On the backend 
the API will return the Credentials the job was launched with. The approach 
would be cleaner and backward compatible. 
  
  Alternative is to have credential related APIs added to EvalFunc, LoadFunc 
and StoreFunc. To deal with backward compatibility in that case, one will have 
to do reflection and determine whether the method is implemented or not and 
then call it which is not that good. 
  
Note: However we do it, adding a API with Credentials will break backward 
compatibility with Hadoop 0.20.2. We will have to decide whether we we plan to 
continue support for it even in pig 0.12. 

 Support for Credentials for UDF,Loader and Storer
 -

 Key: PIG-3038
 URL: https://issues.apache.org/jira/browse/PIG-3038
 Project: Pig
  Issue Type: New Feature
Affects Versions: 0.10.0
Reporter: Rohini Palaniswamy
 Fix For: 0.12


   Pig does not have a clean way (APIs) to support adding Credentials (hbase 
 token, hcat/hive metastore token) to Job and retrieving it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira