[ https://issues.apache.org/jira/browse/LIVY-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Saisai Shao updated LIVY-411: ----------------------------- Description: In Livy 0.5.0, we supported multiple languages in one session, but it requires that the packages should be available, such as R package and Python package, otherwise session will be failed to create. However, in some cases python or R package may be missing in Spark distro, this will make Livy fail to creation interactive session. To fix this issue, we should not force such restriction on session creation, but delay the check until related interpreter is used. If such packaging is missing, we should make the related execution failure and return user the cause of issue, but don't affect other correctly started interpreters. was: In Livy 0.5.0, we supported multiple languages in one session, but it requires one the packages be available, such as R package and Python package, otherwise session will be failed to create. But in some cases python or R package may be missing in Spark distro, this will make us fail to use Livy's interactive session. To fix this issue, we should not force such restriction on session creation, but delay the check until related interpreter is used. If such packaging is missing, we should make the related execution failure and return user the cause of issue, but don't affect other correctly started interpreters. > Session cannot be started when Python or R package is missing > ------------------------------------------------------------- > > Key: LIVY-411 > URL: https://issues.apache.org/jira/browse/LIVY-411 > Project: Livy > Issue Type: Bug > Components: REPL > Affects Versions: 0.5.0 > Reporter: Saisai Shao > Assignee: Saisai Shao > > In Livy 0.5.0, we supported multiple languages in one session, but it > requires that the packages should be available, such as R package and Python > package, otherwise session will be failed to create. However, in some cases > python or R package may be missing in Spark distro, this will make Livy fail > to creation interactive session. > To fix this issue, we should not force such restriction on session creation, > but delay the check until related interpreter is used. If such packaging is > missing, we should make the related execution failure and return user the > cause of issue, but don't affect other correctly started interpreters. -- This message was sent by Atlassian JIRA (v6.4.14#64029)