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. 3042-v3.txt
        10 kB
        Aleksey Yeschenko
      2. 3042-v2.txt
        7 kB
        Aleksey Yeschenko
      3. trunk-3042.txt
        6 kB
        Joe Siegrist

        Activity

        Hide
        Brandon Williams added a comment -

        +1

        Show
        Brandon Williams added a comment - +1
        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";

          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