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

sasjs submitted job did not show up in SAS EVM #807

Open
venkattoluchuri opened this issue Jun 30, 2021 · 5 comments
Open

sasjs submitted job did not show up in SAS EVM #807

venkattoluchuri opened this issue Jun 30, 2021 · 5 comments
Labels
enhancement New feature or request sponsorship needed

Comments

@venkattoluchuri
Copy link

sasjs submitted job did not show up in SAS EVM

@allanbowe
Copy link
Member

allanbowe commented Jun 30, 2021

Currently we use the compute API (useComputeApi:true) for running jobs with sasjs job execute. We should switch to JES API (useComputeApi:false) to resolve this issue (in sasjs flow also)

@venkattoluchuri
Copy link
Author

venkattoluchuri commented Jun 30, 2021 via email

@allanbowe allanbowe added the enhancement New feature or request label Jun 30, 2021
@venkattoluchuri
Copy link
Author

how to switch from useComputeApi:true to useComputeApi:false ? Is it a simple change can be done from myside in any sasjs config file ?

@allanbowe
Copy link
Member

allanbowe commented Jun 30, 2021

Hi @venkattoluchuri - it's a setting we need to apply during the build of the CLI, in relation the sasjs/adapter which handles all the communication with SAS.

There are three ways you can run jobs in Viya with this flag:

  • true - will use the compute apis directly (fastest for web apps, by far, due to hot session). Works through code injection on a running session.
  • false - will use the JES API to execute an existing job. No code injection, also no hot session, so slower. This is the setting that I expect will resolve this issue.
  • undefined - if not set, then the adapter reverts to the web approach (calling /SASJobExecution via http). This isn't relevant for the CLI, it's more a fallback for browser based communication.

There's more info in the README here: https://github.com/sasjs/adapter#configuration

We should have some capacity to look at this tomorrow

@allanbowe
Copy link
Member

allanbowe commented Jun 13, 2022

@venkattoluchuri - we'd be happy to work on this however we would need some sponsorship to make it happen. We estimate that at 3 developer days. The implementation would include a switch in the sasjsconfig, so the execution option can be down to the end user. It would also include tests and documentation.

Do you have some budget available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sponsorship needed
Projects
None yet
Development

No branches or pull requests

3 participants