I have installed the Kerberos Hadoop cluster from Ambari V2.7.3 and HDP 3.1.1 Now I am installing Apache ranger from Ambari In the same Hadoop cluster. But I am facing below errors while installing Ranger.
RuntimeError: Failed to execute command '/usr/bin/apt-get -o Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install ranger-3-1-0-0-78-admin', exited with code '100', message: 'E: Failed to fetch http://public-repo-1.hortonworks.com/HDP/ubuntu16/3.x/updates/3.1.0.0/pool/main/r/ranger/ranger-3-1-0-0-78-admin_1.2.0.3.1.0.0-78_all.deb 403 Forbidden
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Related
Whenever I try to install Ruby 2.6.1 on Ubuntu this error keeps coming up. Does anyone have any solutions?
$ rvm install 2.6.1
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.6.1.tar.bz2
Checking requirements for ubuntu.
Installing requirements for ubuntu.
mkdir: cannot create directory ‘/usr/share/rvm/log/1624238816_ruby-2.6.1’: Permission denied
tee: /usr/share/rvm/log/1624238816_ruby-2.6.1/update_system.log: No such file or directory
Updating systemddsmith password required for 'apt-get --quiet --yes update': ..-
..
Error running 'requirements_debian_update_system ruby-2.6.1',
please read /usr/share/rvm/log/1624238816_ruby-2.6.1/update_system.log
Requirements installation failed with status: 1.`
I have installed ElasticSearch 1.7 and want to install marvel, bellow command to install licence worked.
sudo bin/plugin --install mobz/elasticsearch-head --verbose
But installing marvel itself failed:
vagrant#homestead:/usr/share/elasticsearch$ sudo bin/plugin install marvel-agent
-> Installing marvel-agent...
Trying https://github.com/null/marvel-agent/archive/master.zip...
Failed to install marvel-agent, reason: failed to download out of all possible locations..., use --verbose to get detailed information
How to solve this ?
with --verbose this occurred vagrant#homestead:/usr/share/elasticsearch$ sudo bin/plugin install marvel-agent --verbose
-> Installing marvel-agent...
Trying https://github.com/null/marvel-agent/archive/master.zip...
Failed: IOException[Can't get https://github.com/null/marvel-agent/archive/master.zip to /usr/share/elasticsearch/plugins/marvel-agent.zip]; nested: FileNotFoundException[https://github.com/null/marvel-agent/archive/master.zip]; nested: FileNotFoundException[https://github.com/null/marvel-agent/archive/master.zip];
Failed to install marvel-agent, reason: failed to download out of all possible locations..., use --verbose to get detailed information
For Elasticsearch 1.7, the correct command is different than for 2.x:
bin/plugin -i elasticsearch/marvel/latest
I am in the process of installing spark in my organization's HDP box. I run yum install spark and it installs Spark 1.4.1. How do I install Spark 2.0? Please help!
Spark 2 is supported (as a technical preview) in HDP 2.5. You can get the specific HDP 2.5 repo added to your yum repo directory and then install the same. Spark 1.6.2 is the version default in HDP 2.5.
wget http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.5.0.0/hdp.repo
sudo cp hdp.repo /etc/yum.repos.d/hdp.repo
sudo yum install spark2-master
or
sudo yum install spark2 (also seems to be doing the same when i tried)
see whats new in HDP 2.5 http://hortonworks.com/products/data-center/hdp/
For full list of repos see https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_release-notes/content/download-links-250.html
Hadoop is already present (and has been working fine for better part of a year)
07:48:30/~:177 $which hadoop
/usr/local/Cellar/hadoop/1.2.1/libexec/bin/hadoop
But attempting to install hbase results in a hadoop dependency error:
07:48:28/~:176 $brew install hbase
==> Installing hbase dependency: hadoop
Warning: Could not link hadoop. Unlinking...
Error: Permission denied - /usr/local/bin/task-controller
Try the following
$ brew upgrade hadoop
$ brew install hbase
After I uninstalled hbase this particular error did not recur: instead the following happened:
https://stackoverflow.com/questions/24288842/running-hbase-on-mac-connection-reset-by-peer
I am running Hadoop Ver 1.1.1 and want to install Oozie 3.3.1 while installing I am getting following error
hduseros#MT2012018:/usr/local/oozie-3.3.1$ ./distro/target/oozie-3.3.1-distro/oozie-3.3.1/bin/oozie-setup.sh -hadoop 1.1.1 /usr/local/hadoop -extjs /usr/local/oozie-3.3.1/webapp/src/main/webapp/ext-2.2.zip
setting CATALINA_OPTS="$CATALINA_OPTS -Xmx1024m"
Exiting: Unsupported Hadoop version '', supported versions: 0.20.1, 0.20.2, 0.20.104, 0.20.200, 0.23.x and 2.x
I am following this tutorial
http://practicalcloudcomputing.com/post/26337621577/installing-and-running-apache-oozie-3-2-x-and-possibly?543b50f0
Before running this oozie-setup.sh, you need to copy the required jars of hadoop 1.1.1 into libext directory in oozie home. then run the above command.
http://srikanthayalasomayajulu.blogspot.sg/2013/02/apache-oozie-331-installation-on-apache.html
follow this link...hope this should be helpful