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

skein client connection failed as java argument list too long for the JAVA_HOME #253

Open
jaheer-hussain opened this issue Apr 2, 2024 · 1 comment

Comments

@jaheer-hussain
Copy link

Thank you for reporting an issue.

If your issue relates to dask-yarn, please open an issue in that
repository's issue tracker instead.

When reporting an issue, please include the following:

  • **A simple skein client connection is failing as follows:
  • OSError: [Errno 7] Argument list too long: '/usr/lib/jvm/java**
A clear description of what went wrong, and what you expected to happen.
  • Steps to reproduce

    The below code is producing this error:

import skein
skein_client = skein.Client(log_level="ALL", security=skein.Security(cert_file='our.crt', key_file='our.crt)


- **Relevant logs/tracebacks**

    File "<stdin>", line 1, in <module>
  File "/home/user/.local/lib/python3.10/site-packages/skein/core.py", line 339, in __init__
    address, proc = _start_driver(security=security,
  File "/home/user/.local/lib/python3.10/site-packages/skein/core.py", line 238, in _start_driver
    proc = subprocess.Popen(command,
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 7] Argument list too long: '/usr/lib/jvm/java

    ```
    $ yarn logs -applicationId <APPLICATION ID>
    ```

    You may want to glance through the logs to ensure things have been
    anonymized where appropriate.

- **Version information**

    Please include version information for the following:

    - Python version:  3.10
    - Hadoop version, and distribution (e.g. CDH) if applicable : 3.3.4
    - Skein version: 0.8.2
@jaheer-hussain
Copy link
Author

The code is running in Ubuntu 22.04 Linux

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

1 participant