How to remove the installed csd file from cloudera manager - service

Trying to install spark2 2.0.0.cloudera2 to a offline CDH 5.11 system. Copied SPARK2_ON_YARN-2.1.0.cloudera2.jar, which is a WRONG version, to the /opt/cloudera/csd directory of the name node server, as per the online instruction page. Due to offline, the installation failed as expected. Then copy the SPARK2-2.0.0.cloudera2-1.cdh5.7.0.p0.118100-el7.parcel and its sha file to /opt/cloudera/parcel-repo directory and install, dispatch and activate the service.
While starting the service from the console, below error is seen:
The CSD version (2.1.0.cloudera2) is not compatible with the current
Spark 2 version (2.0.0.cloudera2). Either update your CSD or
make sure you have the correct Spark version installed and
activated.
Remove the service, and then remove the csd and parcel file, then restart the CM. Re-install the parcel and try to restart the service, the same error is reported.
Please let me know where and how to remove the csd file residue?
Also tried to stop spark before start the spark2, the same error is seen.
could this error the real error since the erroneous csd file is removed from /opt/cloudera/csd?

The issue is solved by searching the web.
Remove the csd file won't clean the version, restart the service, "cloudera-scm-server", from the management host is also required. Please refer https://www.cloudera.com/documentation/enterprise/5-5-x/topics/cm_mc_addon_services.html for detail

Related

Where can I download the OpenShift 4 CodeReady Containers VirtualBox crcbundle file?

I am trying to install Openshift4 locally on my computer and I am missing a file with the .crcbundle-extension. Could someone help me out on where to find this file or how to create it?
I am talking about the following project on github:
https://github.com/code-ready/crc#documentation
Cheers
You can download the latest crc binaries here
You also need a Red Hat developer account to run crc as it requires you to log in to https://cloud.redhat.com/openshift/install/crc/installer-provisioned to get a "pull secret" to deploy the cluster.
It appears that support for VirtualBox in CRC has been removed (Refs: 'crc setup -d virtualbox' - driver flag is ignored , https://github.com/code-ready/crc/issues/838 )
The link referenced by #nick doesn't provide the actual VirtualBox bundle file required. So far as I can tell, there does not appear to be any place to download the referenced VirtualBox bundle file.

Classpath is empty. Please build the project first e.g. by running './gradlew jar -PscalaVersion=2.11.12'

I am not able to run a Apache Kafka service due to a failure while trying to start a Zookeeper instance. I have downloaded and tried it with all 3 availabe downloads at the official site. (binarys and source) When i try to start zookeeper with
./bin/zookeeper-server-start.sh config/zookeeper.properties
I always get the same error message:
Classpath is empty. Please build the project first e.g. by running
'./gradlew jar -PscalaVersion=2.11.12'
The same goes for (after starting a seperate zookeeper (not the build-in from kakfa) instance)
./bin/kafka-server-start.sh config/server.properties
I have tried it under Ubuntu 17.04 and 18.04. When i try this on a virtual machine using Ubuntu 16.04 it works.
Unfortunatly, all i found regarding this problem, was for Windows.
Thank you for any help.
In my case it has nothing to do with the binary or source cause both of them give that same "classpath is empty please build the project first" error. Its because there is a space in the path where kafka resides.
I had the same issue, the problem was I was downloading the source of Kafka. So to make my Kafka server run, I downloaded the Kafka binaries and it worked for me.
Kafka binaries: http://mirror.cc.columbia.edu/pub/software/apache/kafka/1.1.0/
We need to download kafka-binary and not the source
Download Binary from mirror
http://mirrors.estointernet.in/apache/kafka/2.2.0/kafka_2.11-2.2.0.tgz
Go to your terminal and run:
$ ./gradlew jar -PscalaVersion=2.11.12
I had the same issue. I solved it when removed the white spases from my folder name e.g "Kafka binary" -> "Kafka_binary".
I have the same message when I try bin/kafka-topic.sh.
It's just because you have a space in the full path.
Go to the folder and execute "pwd", in the path, you must change the white space of folder by an underscore or use camel case.
I changed the path:
~/Documents/Formation/Moi/Big Data/Logiciels/kafka_2.12-2.4.1
to
~/Documents/Formation/Moi/Logiciels/kafka_binary
and it works (binary sources)
Try echo $CLASSPATH in the terminal, check if there is a Java in this system.
Or maybe you need to install java
Please check scala version installed in your system. It should be scalaVersion=2.11.12.
Otherwise Download the kafka binary with installed scala version.

Delete Chromedriver from Eclipse

I want to lower the version of ChromeDriver in my eclipse. For that I want to delete the Chromedriver from Eclipse. However when I try to delete the Chromedriver. I got an error "An exception have been caught while processing refractoring delete" Reason: Problems encountered while deleting resources. I don't know how to change the version of my ChromeDriver now.And may I know why this happens, What should I do know?(I am not able to replace Chromedriver of different versions as well in eclipse)
Sorry, i am very late.
i just realized the solution by miyself about the same problem. If you have copied ChormeDriver into your package, then you have delete all instances of Chormedriver on the memory. To do that, you need to click on Task Manager (Cntrl+Alt+Del) -> Select Task Manager and search for all Chorme Driver(s) and delete these tasks from process on Task Manager. Before you do the above step, close Chrome Browser. Once you delete all those tasks from Task Manager, then go to Eclipse and delete ChromeDriver from pacakge.
Restart the machine
From eclipse open system explorer
find chromedriver.exe and replace the chromedriver.exe with older or newer version.

memcached not getting loaded for php7

I am using Easyphp-DevServer-17 and PHP7 ,I want to use "memcached" with PHP-7.1 , I downloaded memcached dll files from the following link
php 7 memcahced
I tried adding dll files to ext folder in php 7 but phpinfo file
doesn't reflect it
and i tried following code
$servers = array(array('localserver', 11212));
$memcacheD = new Memcached;
but it throws following error "Fatal error: Uncaught Error: Class 'Memcached' not found"
Please help me on this issue as i am new to php and struggling to load memcached extension
First of all ensure you have the correct version of memcacheD. Most of the versions for Windows out there are memcache, without the D at the end, even the name of the libraries are called memcacheD. It's very misleading but I have added the link to the correct version below. To clarify, memcache and memcacheD are not the same and cannot be interchanged.
Run phpinfo() and make notations of Compiler, Architecture, Thread Safety, you will need this to get the correct version of the DLL.
Download the correct memcacheD version from https://github.com/lifenglsf/php_memcached_dll There are 2 files, the php extension DLL and the lib DLL. You need both.
Save the php extension DLL in your easyPHP folder, in my case was \eds-binaries\php\php713vc14x86x220414190951\ext.
Enable the extension in php.ini, I renamed the DLL so in my case I had to add the line extension=php_memcached.dll
Save libmemcached.dll in C:\windows
Reload Apache to ensure the config is refreshed.
And that's it. Now run phpinfo() again and should show there. If it's not working check Apache error log, it will tell you if the DLL failed to load. If you get the "not a Win32 application" message it means you didn't download the correct DLL.
Remember you also have to have the service running, memcached.exe -d start from cmd should do.

Upgrade bugzilla on local machine (3.4.x to 4.2.x)

I've installed bugzilla Win32InstallPackages
https://wiki.mozilla.org/Bugzilla:Win32InstallPackages
its pretty easy, just download Bugzilla-Setup-3.4.8.exe file, follow steps and keep pressing Next button. It installs everything (Apache, MySql, Perl, Bugzilla) and works perfect. Just start using bugzilla through this url localhost
Now I want to upgrade this with some stable latest release which is 4.4. I am using Bazaar repository to download at my local PC from here http://bzr.mozilla.org/bugzilla/4.4/
Bazaar explorer creates trunk folder inside C:\Bugzilla\trunk and downloaded all source code inside the trunk directory.
When I've copied all the files from trunk folder and replaced with existing files at C:\Bugzilla\ then it doesn't work.
Now I am getting following error message when I am trying to open bugzilla by writing localhost/ into address bar.
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin#example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Could you please help me how to upgrade bugzilla on my local machine ?
There are upgrade instructions that can be followed. Also check your apache logs to find out what the 500 error is really about.