File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ and adding it to your local Apache Spark kernel's classpath.
14
14
15
15
## Installation
16
16
17
- This library is now installed by default on IBM Apache Spark.
17
+ This library is now installed by default on IBM Apache Spark.
18
18
19
19
```
20
20
pip install --user --upgrade ibmos2spark
@@ -42,7 +42,8 @@ credentials = {
42
42
' secret_key' : ' '
43
43
}
44
44
45
- cos = ibmos2spark.CloudObjectStorage(sc, credentials) # sc is the SparkContext instance
45
+ configuration_name = ' cos_config_string' # you can give any string you like
46
+ cos = ibmos2spark.CloudObjectStorage(sc, credentials, configuration_name) # sc is the SparkContext instance. configuration_name is optional param
46
47
47
48
bucket_name = ' some_bucket_name'
48
49
object_name = ' file1'
You can’t perform that action at this time.
0 commit comments