You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix for Cloudera CDS 2.2.0+ Spark credentialsRequired method (#1332)
Cloudera's CDS 2.2.0+ Spark fork introduced a non-passive method
signature that results in the inability for the ES hadoop integration
to work. Cloudera's CDS fork is the main means for CDH5 consumers to
consume newer versions of Spark. CDS is only availble to be installed
via a Cloudera Manager's parcel and is distinctly different from the (elder)
version of Apache Spark that ships with CDH5. Supporting this fork is
challenging since it difficult difficult to test manually, and even more
so with the integration tests. CDS is for CDH5 consumers (likely the majority
at this time) that want to use Java 8 (likey the majority at this time),
and run newer versions of Spark (a very popular integration).
Related commit: https://github.com/cloudera/spark/commit/0972663ef3a87f4dcf2f4a936216bb5da0232b4e#diff-73c35ef723336affd463d9657df7583fFixes#1301
Copy file name to clipboardExpand all lines: spark/sql-20/src/main/scala/org/elasticsearch/spark/deploy/yarn/security/EsServiceCredentialProvider.scala
+24-5Lines changed: 24 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -75,12 +75,31 @@ class EsServiceCredentialProvider extends ServiceCredentialProvider {
75
75
overridedefserviceName:String="elasticsearch"
76
76
77
77
/**
78
-
* Given a configuration, check to see if tokens would be required.
79
-
* @paramhadoopConf the current configuration
80
-
* @return true if tokens should be gathered, false if they should not be
81
-
*/
78
+
* Given a configuration, check to see if tokens would be required.
79
+
*
80
+
* @paramhadoopConf the current Hadoop configuration
81
+
* @return true if tokens should be gathered, false if they should not be
0 commit comments