Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your credentials class does not support session injection. #11

Closed
sr9yar opened this issue Dec 3, 2018 · 2 comments
Closed

Your credentials class does not support session injection. #11

sr9yar opened this issue Dec 3, 2018 · 2 comments

Comments

@sr9yar
Copy link

sr9yar commented Dec 3, 2018

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Run the program as-is

Any log messages given by the failure

".Your credentials class does not support session injection. Performance will not be at the maximum."

Expected/desired behavior

Absence of this warning

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

Versions

python --version
Python 3.6.7

Mention any other details that might be useful

When I try to run the code, I'm getting this warning output. For now I was unable to find any explanation regarding creds usage. The files are created in the storage container ok.
Is this an expected behavior?
Example of the output I get:

.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.
.Your credentials class does not support session injection. Performance will not be at the maximum.

  Success! All tasks reached the 'Completed' state within the specified timeout period.
Printing task output...
Your credentials class does not support session injection. Performance will not be at the maximum.
Your credentials class does not support session injection. Performance will not be at the maximum.
Task: Task0
Node: tvm-1347421722_1-20181203t153003z
Your credentials class does not support session injection. Performance will not be at the maximum.
Standard output:
Traceback (most recent call last):
  File "python_quickstart_client.py", line 374, in <module>
    print_task_output(batch_client, config._JOB_ID)
  File "python_quickstart_client.py", line 287, in print_task_output
    print(file_text)
UnicodeEncodeError: 'ascii' codec can't encode character '\ufeff' in position 0: ordinal not in range(128)


@laurenhughes
Copy link
Contributor

Thanks bringing this up, @sr9yar. I submitted a fix (#12) to update the Batch SDK for Python version that should fix the issue.

@laurenhughes
Copy link
Contributor

I'm going to go ahead and close the issue. If you have any other questions, please feel free to comment here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants