Getting the following error when i export the DSE_USERNAME and DSE_PASSWORD and invoke the "dse fs" command:
@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.
Getting DSEFS authentication errors after enabling SSL through LCM
Error 18 self signed certificate error when verifying SSL certificate
Getting "No trusted certificate found" exception after configuring SSL encryption
What do I need to configure after enabling require_client_auth on client to node encryption?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 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