Cassandra
  1. Cassandra
  2. CASSANDRA-3042

Implement authentication in Pig loadFunc

    Details

      Description

      Using already existing options for authentication in ConfigHelper, and adding a call to client#login just before client#set_keyspace to in CassandraStorage#initSchema

      1. trunk-3042.txt
        6 kB
        Joe Siegrist
      2. 3042-v3.txt
        10 kB
        Aleksey Yeschenko
      3. 3042-v2.txt
        7 kB
        Aleksey Yeschenko

        Activity

        Nate McCall created issue -
        Joe Siegrist made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 1.1.2 [ 12321445 ]
        Affects Version/s 0.8.4 [ 12317551 ]
        Labels pig authentication pig
        Joe Siegrist made changes -
        Attachment trunk-3042.txt [ 12530761 ]
        Joe Siegrist made changes -
        Comment [ Needed this -- works for me w/ SimpleAuthenticator -- picked 'setOutputKeyspaceUserName' as there is no setInputKeyspaceUserName

        To test:

        Set the environment variables to your username
        + public final static String PIG_USERNAME = "PIG_USERNAME";
        + public final static String PIG_PASSWORD = "PIG_PASSWORD";
        ]
        Joe Siegrist made changes -
        Attachment trunk-3042.txt [ 12530761 ]
        Hide
        Joe Siegrist added a comment -

        Needed this – works for me w/ SimpleAuthenticator – picked 'setOutputKeyspaceUserName' as there is no setInputKeyspaceUserName
        To test:
        Set the environment variables to your username
        + public final static String PIG_USERNAME = "PIG_USERNAME";
        + public final static String PIG_PASSWORD = "PIG_PASSWORD";

        Show
        Joe Siegrist added a comment - Needed this – works for me w/ SimpleAuthenticator – picked 'setOutputKeyspaceUserName' as there is no setInputKeyspaceUserName To test: Set the environment variables to your username + public final static String PIG_USERNAME = "PIG_USERNAME"; + public final static String PIG_PASSWORD = "PIG_PASSWORD";
        Joe Siegrist made changes -
        Attachment trunk-3042.txt [ 12530765 ]
        Joe Siegrist made changes -
        Comment [ Needed this – works for me w/ SimpleAuthenticator – picked 'setOutputKeyspaceUserName' as there is no setInputKeyspaceUserName
        To test:
        Set the environment variables to your username
        + public final static String PIG_USERNAME = "PIG_USERNAME";
        + public final static String PIG_PASSWORD = "PIG_PASSWORD"; ]
        Joe Siegrist made changes -
        Attachment trunk-3042.txt [ 12530765 ]
        Joe Siegrist made changes -
        Attachment trunk-3042.txt [ 12530767 ]
        Jonathan Ellis made changes -
        Reviewer iamaleksey
        Aleksey Yeschenko made changes -
        Attachment 3042-v2.txt [ 12553910 ]
        Aleksey Yeschenko made changes -
        Assignee Aleksey Yeschenko [ iamaleksey ]
        Aleksey Yeschenko made changes -
        Reviewer iamaleksey jbellis
        Aleksey Yeschenko made changes -
        Reviewer jbellis brandon.williams
        Aleksey Yeschenko made changes -
        Attachment 3042-v3.txt [ 12553931 ]
        Aleksey Yeschenko made changes -
        Fix Version/s 1.1.7 [ 12323354 ]
        Fix Version/s 1.2.0 rc1 [ 12323481 ]
        Hide
        Brandon Williams added a comment -

        +1

        Show
        Brandon Williams added a comment - +1
        Aleksey Yeschenko made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Sylvain Lebresne made changes -
        Fix Version/s 1.2.0 beta 3 [ 12323603 ]
        Fix Version/s 1.1.7 [ 12323354 ]
        Fix Version/s 1.2.0 rc1 [ 12323481 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12627336 ] patch-available, re-open possible [ 12753214 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12753214 ] reopen-resolved, no closed status, patch-avail, testing [ 12758651 ]

          People

          • Assignee:
            Aleksey Yeschenko
            Reporter:
            Nate McCall
            Reviewer:
            Brandon Williams
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development