aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/bigtable
diff options
context:
space:
mode:
authorGravatar Misha Brukman <mbrukman@google.com>2018-08-28 09:09:03 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-28 09:15:50 -0700
commit8987d1cfd3c17eab4e28da376fdc718f53d82e19 (patch)
treeb51ba26773f4c06f43e5d15ec1c958a2fa94cbc1 /tensorflow/contrib/bigtable
parentf8f5bbe006bc98e98fd939898ceff08dbaace34f (diff)
Provide an alternative method to find gRPC `roots.pem` file, using an environment
variable, to avoid having to copy a particular file to `/usr/share`. PiperOrigin-RevId: 210550389
Diffstat (limited to 'tensorflow/contrib/bigtable')
-rw-r--r--tensorflow/contrib/bigtable/README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/tensorflow/contrib/bigtable/README.md b/tensorflow/contrib/bigtable/README.md
index b9abfa8295..f33eaf7e3d 100644
--- a/tensorflow/contrib/bigtable/README.md
+++ b/tensorflow/contrib/bigtable/README.md
@@ -324,8 +324,14 @@ If you encounter a log line that includes the following:
"filename":"/usr/share/grpc/roots.pem"
```
-you likely need to copy the [gRPC `roots.pem` file][grpcPem] to
-`/usr/share/grpc/roots.pem` on your local machine.
+you can solve it via either of the following approaches:
+
+* copy the [gRPC `roots.pem` file][grpcPem] to
+ `/usr/share/grpc/roots.pem` on your local machine, which is the default
+ location where gRPC will look for this file
+* export the environment variable `GRPC_DEFAULT_SSL_ROOTS_FILE_PATH` to point to
+ the full path of the gRPC `roots.pem` file on your file system if it's in a
+ different location
[grpcPem]: https://github.com/grpc/grpc/blob/master/etc/roots.pem