Getting the following error when i export the DSE_USERNAME and DSE_PASSWORD and invoke the "dse fs" command:
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
@scano_183208 Providing credentials using environment variables is only valid for some commands such as dse advrep
or dse spark
. For DSEFS, there are 2 ways of providing credentials:
Specify the credentials as follows:
$ dse -u username -p password fs
If you'd like to use environment variables:
$ dse -u $DSE_USERNAME -p $DSE_PASSWORD fs
For details, see Providing credentials on command line.
Place the credentials in a .dserc
file in the OS user's home directory with entries which look like these:
username=john password=SomeComplexPassword
For details, see Providing credentials in a file. Cheers!
Yes, I already have the dserc file in place. The thing is that I see this error only when I check the dsefs-shell.log.
If I type dse fs into the command line it logs in successfully and when I check the debug.log it shows the following error:
ERROR [dsefs-netty-worker-4] 2020-03-19 11:30:44,300 AbstractDigestRestServerAuthProvider.scala:103 - Could not authenticate request DefaultHttpRequest(decodeResult: success, version: HTTP/1.1)
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use