Skip to content

Commit 7a27605

Browse files
committed
remove non-needed setup for driver.
1 parent 31a5607 commit 7a27605

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/ibmos2spark/osconfig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def url(self, container_name, object_name):
174174

175175
class CloudObjectStorage(object):
176176

177-
def __init__(self, sparkcontext, bucket_name, credentials, driver='com.ibm.stocator.fs.ObjectStoreFileSystem'):
177+
def __init__(self, sparkcontext, bucket_name, credentials):
178178

179179
'''
180180
sparkcontext: a SparkContext object.
@@ -208,7 +208,6 @@ def __init__(self, sparkcontext, bucket_name, credentials, driver='com.ibm.stoca
208208
# setup config
209209
prefix = "fs.s3d.service"
210210
hconf = sparkcontext._jsc.hadoopConfiguration()
211-
hconf.set(prefix + ".impl", driver)
212211
hconf.set(prefix + ".endpoint", credentials['endpoint'])
213212
hconf.set(prefix + ".access.key", credentials['access_key'])
214213
hconf.set(prefix + ".secret.key", credentials['secret_key'])

0 commit comments

Comments
 (0)