Skip to content

Commit 3415449

Browse files
committed
Update warning msg (related to multiple configs support)
1 parent 8bb0fdd commit 3415449

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

python/ibmos2spark/osconfig.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ def __init__(self, sparkcontext, credentials, cos_id='', bucket_name=''):
202202
If this value is not specified, you need to pass it when
203203
you use the url function.
204204
205-
Warning: creating a new instance of this class would overwrite the existing
206-
spark hadoop configs if set before if used with the same spark context instance.
205+
NOTE: Hadoop configuration will be set with a service name equals to
206+
the value of cos_id. If cos_id is not set, the default service name "service"
207+
will be used.
207208
208209
'''
209210
self.bucket_name = bucket_name

0 commit comments

Comments
 (0)