I'm using Cassandra 1.2.3 on Windows, I have downloaded and copied Jna.jar and Platform.jar to C:\Program Files (x86)\apache-cassandra-1.2.3\lib , but when I run Cassandra I get this message
INFO 16:20:42,839 JNA link failure, one or more native method will be unavailable.
I didn't found any solution to fix it in Windows
Cassandra does not support JNA on windows. It only knows how to link libc, which does not exist there.
Related
I am trying to connect cassandra with c++ in linux ‘titan’ by using the cmake .nothing in the internet useful I found,
Can anyone help me with steps please?
There are packages available for RHEL/CentOS and Ubuntu on the C++ driver Installation page. You can find the download links for the dependencies on the same page.
You'll need to install the dependencies and runtime library. See the Installation instructions for details.
Once you've installed the driver, try running the sample code for connecting to a Cassandra cluster in the C++ driver Getting started guide. Cheers!
I am not sure if it is the right place to ask this question. I have been trying to install clearcase client 8015 on a new machine with RHEL5u8 image. Tried googling a lot but could not resolve the issue as per suggestions on other forums.
It gets installed successfully. (As per the prompt)
listing of the views is done properly. (cleartool lsview)
When I do cleartool mount -all,
cleartool: Error: The MVFS file system is not installed or not loaded,
or the 'viewroot' is not mounted or is inaccessible: not a ClearCase
object.
logging in as root then starting clearcase, executing "/opt/rational/clearcase/etc/clearcase start"
OUTPUT:-
ClearCase is stopped Starting ClearCase ClearCase daemons: albd_server
FATAL: Error inserting mvfs
(/lib/modules/2.6.18-308.4.1.0.1.el5/kernel/fs/mvfs/mvfs.ko): Unknown
symbol in module, or unknown parameter (see dmesg) Loading the MVFS
was unsuccessful(8:1) /opt/rational/clearcase/etc/clearcase: Loading
MVFS failed
---- Please review /var/log/messages for information on the problem.
---- You may need to rebuild your kernel, rebuild your mvfs module,
---- and reboot your system. Information on how to do this can be found in
---- your Release Notes and file /var/adm/rational/clearcase/mvfs/mvfs_src/README.txt.
I have followed all the steps in /var/adm/rational/clearcase/mvfs/mvfs_src/README.txt but still cannot achieve anything.
Uninstallation also fails as:-
./linux_8015_uninstall
ERROR: Installation data has incompatible version 1.8.0; expected
1.7.0. Newer version of the Installation Manager was used on this system.
java.io.IOException: Installation data has incompatible version 1.8.0;
expected 1.7.0. Newer version of the Installation Manager was used on
this system.
00:01.33 ERROR [main]
com.ibm.cic.agent.core.application.HeadlessApplication run
Installation data has incompatible version 1.8.0; expected 1.7.0.
Newer version of the Installation Manager was used on this system.
java.io.IOException: Installation data has incompatible version 1.8.0;
expected 1.7.0. Newer version of the Installation Manager was used on
this system. java.io.IOException: Installation data has incompatible
version 1.8.0; expected 1.7.0. Newer version of the Installation
Manager was used on this system.
at com.ibm.cic.agent.internal.core.InstallRegistryParser.parse(InstallRegistryParser.java:160)
at com.ibm.cic.agent.internal.core.InstallRegistry.load(InstallRegistry.java:679)
at com.ibm.cic.agent.internal.core.InstallRegistry.openFile(InstallRegistry.java:485)
at com.ibm.cic.agent.internal.core.InstallRegistry.open(InstallRegistry.java:429)
Cannot proceed with installation, cannot uninstall either to try another version of clearcase, tried googling for the version mismatch of IBM installation manager but could not find anything addressing the issue properly for Linux.
Any suggestions on how to proceed? I am new to clearcase tool.
Usually, when I see only snapshot views are supported, and MVFS (for dynamic views) hasn't installed properly, I uninstall everything and try the all process from the start again.
In your case, that means installing or downgrading the IBM IM Installation Manager to the right version (similar to this issue).
It can be an IM update issue, as seen in this technote.
Further to #VonC's comment re: incompatible IM install,
review the following doc: MVFS not loading after kernel upgrade or is missing after installation on Linux.
I encountered a similar problem after an incompatible kernel path / ClearCase version. In my case, the error was similar to what is documented here in the post MVFS not installed - RHEL6 and I had to edit the kernel source to the same as the patch and rebuild. Then things stared up fine.
Review also the link How to manually restore a pre-built MVFS on Linux.
If the corresponding kerenl level is not provided it will not start and you will have to patch and make your own.
Note: I know that here is same question, but it's enviroment is window so I created it. JNA link failure Error on Cassandra Startup
I try to start cassandra but I get a warning below:
$ cassandra
...
WARN 09:13:42 JNA link failure, one or more native method will be unavailable.
WARN 09:13:42 JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info.
Please tell me how to solve this problem.
My enviroment:
Cassandra v2.2.0 with Homebrew
OS X 10.10
JNA is used for optimizations such as disabling swapping and creating hardlinks during snapshots. It is recommended for production systems. Dev systems should also be fine without JNA support, so you can just ignore the warning.
I'm using 64 bit Windows 8. It was fine yesterday, and it just failed to start. It shows the loading screen, but it just stop right there.
Anyone has the same problem? Any fix? It has happened to me twice with my old pc, which were using 32 bit Windows 7.
While I haven't heard of this issue before, here's something that will hopefully fix the issue:
find a directory called .devcenter in your user directory (that should be \Users\<youruser>)
move this directory to a different location
start DevCenter
If this doesn't work:
in the same \Users\<youruser>\.devcenter\logging folder find the log.txt file; you might be able to see the root error
there is a newer version available (1.1.1)
Some time this can be due to Java version. For me it was failing because I was using Java 9. It worked fine after downgrading to Java8. Confirm compatibility of your devcenter and java
We had java processes(cassandra service) running with jdk 1.6 in our linux machine and we did upgrade the JDK in the machine from 1.6 to 1.7 using rpm package without stopping the process (/usr/bin/jdk1.6/bin/java) which were running with earlier version of java.
After successful up gradation, the old version of jdk was removed from the machine and only the new version(1.7) was available, but the process which were running before with the older version(1.6) was not affected and still running from the old path. Eventhough the old java path which the process shows is not existing in the machine now.
Could someone please explain me this behavior?
This is the way Unix/Linux handles open files. The uninstall of the old version requested the OS to unlink the files. However, they were still open (this can be shown with lsof), so are still considered valid. Once all open file handles are closed, the files will be "permanently" deleted. A little more info can be found here.