Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10717

Changes from CASSANDRA-9353 makes Hadoop integration backward incompatible

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 3.0.1, 3.1
    • Component/s: None
    • Labels:
      None

      Description

      Previously CqlInputFormat.getSplits(JobContext) method did not require anything but providing username and password in order to work with password protected Cassandra. Now, since CASSANDRA-9353 moved this part of the code from Thrift to Java Driver, the user needs to explicitly select AuthProvider to make it work.

      I propose a simple change in CqlConfigHelper which make CqlConfigHelper.getCluster method set credentials on Cluster.Builder if they are present in the configuration, prior to setting AuthProvider.

        Attachments

        1. CqlConfigHelper_authentication_patch-2.patch
          1 kB
          Jacek Lewandowski
        2. CqlConfigHelper_authentication_patch.patch
          1 kB
          Jacek Lewandowski

          Activity

            People

            • Assignee:
              jlewandowski Jacek Lewandowski
              Reporter:
              jlewandowski Jacek Lewandowski
              Authors:
              Jacek Lewandowski
              Reviewers:
              Mike Adamson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: