You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/07/07 11:20:09 UTC

[incubator-datalab] 01/01: [DATALAB-2499]: fixed R package install for spark

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2499
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 31e6258443c9b1fe0b5e68dca905105f3b9cd321
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Jul 7 14:19:51 2021 +0300

    [DATALAB-2499]: fixed R package install for spark
---
 infrastructure-provisioning/src/general/lib/os/fab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py
index 7aa582e..bb89cd5 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -550,7 +550,7 @@ def ensure_dataengine_service_devtools():
 def install_r_pkg(requisites):
     status = list()
     error_parser = "ERROR:|error:|Cannot|failed|Please run|requires|Error|Skipping|couldn't find"
-    if os.environ['conf_resource'] in 'dataengine-service':
+    if os.environ['conf_resource'] == 'dataengine-service':
         ensure_dataengine_service_devtools()
     try:
         for r_pkg in requisites:

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org