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

Changes from CASSANDRA-9353 makes Hadoop integration backward incompatible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.1, 3.1
    • None
    • 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.patch
          1 kB
          Jacek Lewandowski
        2. CqlConfigHelper_authentication_patch-2.patch
          1 kB
          Jacek Lewandowski

        Activity

          People

            jlewandowski Jacek Lewandowski
            jlewandowski Jacek Lewandowski
            Jacek Lewandowski
            Mike Adamson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: