Commit Graph

12 Commits

Author SHA1 Message Date
Jenkins 8cd6d7b0ca Merge "hadoop-swiftfs: Allow configuring container.tenant" 2016-06-23 21:02:49 +00:00
Saverio Proto fffdc5ad6b hadoop-swiftfs: Allow configuring container.tenant
Implements the possibility to manipulate the storage URL
to specify the AUTH_tenant, when accessing containers
that are shared across different tenants

https://swiftstack.com/docs/cookbooks/swift_usage/auth.html

Sample config snippet:

<property>
  <name>fs.swift.service.sahara.auth.endpoint.prefix</name>
  <value>/v1/AUTH_</value>
</property>
<property>
  <name>fs.swift.service.sahara.container.tenant</name>
  <value>uuid</value>
</property>

Change-Id: Ifc349fe1fca9637e62ac05c8422887d6a51371d4
2016-06-21 14:18:44 +02:00
Ernst Sjöstrand c080e3b598 hadoop-swiftfs: Allow configuring domain.id
Some vendors only provide an id for their domains and not name.

Change-Id: I0254cb4ede8b739cb5ff06f525a49064e064d288
2016-06-02 10:17:36 +02:00
Michael Ionkin a1e4d4ebbe Fix sending domain name in swift-client
This patch fixes the domain_name parameter which is sent incorrectly
when using Identity API V3 for swift authentication

Change-Id: Ide155d425216a08c1c4d23af7f7bb5496ef4edd3
Closes-Bug: #1540274
2016-03-11 17:59:48 +03:00
Jenkins ccf3e5c6fa Merge "Add support of keystone v3 password/token authentication method" 2015-04-07 16:03:40 +00:00
Kazuki OIKAWA 13015323df Fix to use renewal keystone token when re-authenticated
Change-Id: Ibffb32452e3362a76a0a78fdbd13cb082a49e597
Closes-Bug: 1428577
2015-03-05 19:35:26 +09:00
Kazuki OIKAWA 35fef15550 Add support of keystone v3 password/token authentication method
Change-Id: I2cdf46f69bb567755186e60744d3df22e3055adc
Closes-Bug: 1428048
2015-03-04 18:25:46 +09:00
Kazuki OIKAWA 49adcd9cfd Changes directory representation
Current directory representation is zero-byte file but swift's pseudo-directory
is trailing-slash file. This patch changes direcotry representation and improves
compatibility with Swift and Horizon.

Change-Id: I6d6aeee958ff877b6f8e95f3108c8059f5d3b5c7
Closes-Bug: 1390414
2015-01-27 19:25:31 +09:00
Kazuki OIKAWA 7d73ebcbda Add Keystone V3 TRUST support
* Added two configuration parameters.
  "fs.swift.service.<name>.domain.name" and
  "fs.swift.service.<name>.trust.id"

Change-Id: Ia456a702477c6dc0a25401fd6caddff239412cce
Partial-implements: blueprint edp-swift-trust-authentication
2014-09-10 14:38:36 +09:00
Andrew Lazarev fab9840abf [hadoop-swift] Added auth check before getData call
Without such check client doesn't try to authenticate during method call.
This leads to read failure in case if this is the first use of client.

Change-Id: Ib2389a83b4e73fac49066ffe0411ff430482f848
Closes-Bug: #1284906
2014-02-25 16:58:49 -08:00
Andrew Lazarev ad6bd75475 Implemented data locality for Swift
Change-Id: I13b15b9fabc6007d4218dd52cc123fa10c46dd45
2013-10-04 12:49:14 +04:00
Nadya Privalova 24e66b7dda Sources for hadoop-patch
Sources were obtained from https://issues.apache.org/jira/secure/attachment/12583703/HADOOP-8545-033.patch
by running "patch" command. All the files related to Hadoop-common were skiped during patching.

Changes were made after patching:
* pom.xml was updated to use hadoop-core 1.1.2 dependency
* removed dependency on 2.x hadoop in code (@Override and isDirectory() -> isDir())
* removed Hadoop 2.X tests

There are no unit-tests, only integration.

Change-Id: I8d7c2f544d14f79597fcdefe27ecae0d43b6df9e
2013-08-23 16:32:14 +04:00