Embedded hadoop-swift connector in mapr plugin code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The MapR plugin contains a copy of the hadoop/swift connector:
./sahara/
It looks like the file is installed (see sahara/
On the other side, other plugins download similar resources on the fly (example: sahara/
Having the file in sahara means keeping another copy that could go quickly out of sync with the other versions used elsewhere.
I think that the file, if not found already on the image, should be handled as it happens for for the other resources not found on the image.
This is partially related to https:/
Changed in sahara: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in sahara: | |
milestone: | none → ocata-1 |
importance: | High → Medium |
Changed in sahara: | |
milestone: | ocata-1 → ocata-2 |
Changed in sahara: | |
milestone: | ocata-2 → ongoing |
milestone: | ongoing → ocata-3 |
Changed in sahara: | |
milestone: | ocata-3 → none |
Moreover, hadoop- swift-latest. jar seems to be a copy of http:// sahara- files.mirantis. com/hadoop- swift/hadoop- openstack- latest. jar (see http:// docs.openstack. org/developer/ sahara/ userdoc/ hadoop- swift.html ) and probably older, see the zipcmp output:
$ zipcmp hadoop- swift-latest. jar hadoop- openstack- latest. jar swift-latest. jar openstack- latest. jar MANIFEST. MF MANIFEST. MF maven/org. apache. hadoop/ hadoop- openstack/ pom.properties maven/org. apache. hadoop/ hadoop- openstack/ pom.properties maven/org. apache. hadoop/ hadoop- openstack/ pom.xml maven/org. apache. hadoop/ hadoop- openstack/ pom.xml hadoop/ fs/swift/ auth/ApiKeyAuth enticationReque st.class hadoop/ fs/swift/ auth/ApiKeyAuth enticationReque st.class hadoop/ fs/swift/ auth/Authentica tionRequest. class hadoop/ fs/swift/ auth/Authentica tionRequest. class hadoop/ fs/swift/ auth/Authentica tionRequestV2. class hadoop/ fs/swift/ auth/Authentica tionRequestV3. class hadoop/ fs/swift/ auth/Authentica tionResponseV3. class hadoop/ fs/swift/ auth/Authentica tionWrapperV3. class hadoop/ fs/swift/ auth/KeyStoneAu thRequest. class hadoop/ fs/swift/ auth/KeyStoneAu thRequest. class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uest.class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uest.class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uestV3$ IdentityWrapper .class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uestV3$ PasswordWrapper .class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uestV3$ ProjectWrapper. class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uestV3$ ScopeWrapper. class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uestV3$ TrustWrapper. class hadoop/ fs/swift/ auth/PasswordAu thenticationReq uestV3. class hadoop/ fs/swift/ auth/PasswordCr edentialsV3. class hadoop/ fs/swift/ auth/TokenAuthe nticationReques tV3$IdentityWra pper.class hadoop/ fs/swift/ auth/TokenAuthe nticationReques tV3$TokenWrappe r.class hadoop/ fs/swift/ auth/TokenAuthe nticationReques tV3.class hadoop/ fs/swift/ auth/TrustAuthe nticationReques t.class hadoop/ fs/swift/ auth/entities/ CatalogV3. class hadoop/ fs/swift/ auth/entities/ EndpointV3. class hadoop/ fs/swift/ exceptions/ SwiftInvalidRes ponseException. class hadoop/ fs/swif. ..
--- hadoop-
+++ hadoop-
+ 125 7106ddc1 META-INF/
- 125 c9369f0c META-INF/
+ 127 fe203252 META-INF/
- 127 6c68ef74 META-INF/
- 4968 d1f3eeae META-INF/
+ 5664 52f60749 META-INF/
- 1410 1123abd1 org/apache/
+ 1412 80f6a390 org/apache/
+ 476 a8949d20 org/apache/
- 916 8707ccad org/apache/
+ 961 4116a374 org/apache/
+ 399 a0df9396 org/apache/
+ 1658 0d506311 org/apache/
+ 731 29972d4b org/apache/
- 1330 4f9f1993 org/apache/
+ 1332 4e7fcba9 org/apache/
- 1308 3225959b org/apache/
+ 1310 71ade6ae org/apache/
+ 1217 c9fc9fd7 org/apache/
+ 830 6e7cc684 org/apache/
+ 1172 4b72ff0c org/apache/
+ 1761 9042bced org/apache/
+ 716 98aa8711 org/apache/
+ 3128 5787e906 org/apache/
+ 2047 94e9a383 org/apache/
+ 1172 3175c304 org/apache/
+ 697 92f4b9ea org/apache/
+ 1228 23af1baa org/apache/
+ 1652 be524989 org/apache/
+ 1452 2b85b7c4 org/apache/
+ 1318 d5ebacdd org/apache/
- 2475 9f52db00 org/apache/
+ 2485 d31db695 org/apache/