Rstudio server on Azure Hdinsight R Packages not installing - azure

I have provisioned an Azure HDInsight cluster type ML Services (R Server), operating system Linux, version ML Services 9.3 on Spark 2.2 with Java 8 HDI 3.6.
I am able to login to Rstudio on the head node via SSH access and I ran the script
from this tutorial - https://blogs.msdn.microsoft.com/azuredatalake/2017/06/26/run-h2o-ai-in-r-on-azure-hdinsight/
located here:
https://bostoncaqs.blob.core.windows.net/scriptaction/install-h2opackages.sh
to install H2o related packages unto the head and worker nodes.
When I run the library(sparklyr) and library(dplyr) it works fine, however Rstudio does not find the h2o package and when I try to install the h2o package it fails because RCurl is not installed. Then when I try to install RCurl I get the following error "Error : package 'bitops' required by 'RCurl' could not be found". When I install bitops it successfully installs but RCurl does not seem to be finding the bitops package within the default install directory temp folder on the HDInsight head node VM's harddrive.
My question is, how do I get the Rstudio Server to recognize where packages are installed on my HDInsight head node? I am using the default install directory when installing each package but the subsequent packages do not recognize dependent packages are installed.
Thanks!

I did not realize that I was not installing the packages under the Edge node, when I installed the packages on all of the nodes I had no problems with the packages.

Related

Install MSI.exe package in AKS windows node as daemon set

We have a requirement to run the image scan enforcer as msi.exe installer /package in AKS windows node. We have to install the package as daemon set, so that the image scan enforcer will be applied to all the windows node. I have tried building an image to install msi package as DS but its not installed on the host. Is there any other option to install it in windows node.

How to install cassandra on Windows 10?

I am trying to get and install Cassandra on Windows 10(x64). Not able to download any Datastax enterprise edition for Windows. Can anyone suggest the steps to do download ,install it and configure on Windows 10.
I have been using the following
Install virtual Machine
Download Latest Centos and Install it on Virtual Machine
Install Cygwin on windows ( you can use different software as well ) to access Cassandra on Windows
Follow Bitnami Steps on how to install Dockers and download Cassandra Image on your Virtual Machine
(https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-centos-7)
you may choose other Cassandra Image aswell but i personally prefer Bitnami
To be able to install Cassandra on Windows, first you need to:
Download and Install Java 8 and set environment variables.
Download and install Python 2.7 and set environment variables.
Then Visit the official Apache Cassandra Download page and select the version you would prefer to download and Set Up Apache Cassandra
Here's a link to full explanation https://phoenixnap.com/kb/install-cassandra-on-windows

sstabledump not found on Cassandra 3.11 ubuntu 16.04

I have installed Cassandra 311 on ubuntu 1604. Everything works fine but I am not able to find SSTABLEDUMP utility in the bin folder.
How can I get this installed as patch? Or I am missing something?
Thanks.
Depending on which version you have installed:
DataStax Enterprise 5.0 Installer No-Services and tarball installations:
install_location/resources/cassandra/tools/bin
Cassandra tarball installations:
install_location/tools/bin/
For package installations (Cassandra package or DataStax Enterprise 5.0 Installer Services and package installations) you do not need to know the installation folder to run it, you can just simply use it as:
sstabledump [options] sstable_file
https://docs.datastax.com/en/cassandra/3.0/cassandra/tools/ToolsSSTabledump.html
Also to have the tools, you need to install cassandra-tools separately apart from cassandra:
sudo apt-get install cassandra-tools

How to install Kubernetes from release binary

I'm trying to run Kubernetes on a local Centos server and have had some issues (for example, with DNS). A version check shows that I'm running Kubernetes 1.2 Alpha 1. Since the full release is now available from the Releases Download page, I'd like to upgrade and see if that resolves my issue. The documentation for installing a prebuilt binary release states:
Download the latest release and unpack this tar file on Linux or OS X, cd to the created kubernetes/ directory, and then follow the getting started guide for your cloud.
However, the Getting Started Guide for Centos says nothing about using a prebuilt binary. Instead, it tells you to set up a yum repo and run a yum install command:
yum -y install --enablerepo=virt7-docker-common-release kubernetes
This command downloads and installs the Alpha1 release. In addition, it attempts to install Docker 1.8 (two releases down from the current 1.10), which fails if Docker is already installed.
How can I install from a prebuilt binary and use an existing Docker?
According to the Table of Solutions for installing Kubernetes, the maintainer of the CentOS getting started guide is #coolsvap. You should reach out to him to ask about getting the pre-built binary updated to the official release.

Installing package caret on a remote server running R version 3.2.1

I'm running R on a remote server (Linux machine), and I want to install packages caret and clusterSim. When I try to install I get the following prompt:
install.packages("caret")
Installing package into ‘/home/Gordonjo/R/s390x-ibm-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
Warning message:
package ‘caret’ is not available (for R version 3.2.1)
And the same thing for clusterSim. Are these packages really not available for 3.2.1, or is there something I can do to get around this?

Resources