If you downloaded the latest Elasticsearch installation and you are getting the following exception:
org.elasticsearch.common.netty.channel.ConnectTimeoutException: connection timed out:/xyz.def.zzzz:9300
at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.processConnectTimeout(NioClientBoss.java:139) at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:83) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) at org.elasticsearch.common.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
Solution
go to config/elasticsearch.yml
Uncomment the following line discovery.zen.ping.multicast.enabled: false Restart Elasticsearch
If you get any of the following errors: GitLab: The project you were looking for could not be found. Git The Repository not found Please make sure you have the correct access rights and the repository exists. when you do operations such as git clone or git push, it is possible that your ssh key has not been added with ssh-agent $ ssh-add Enter passphrase for /home/name/.ssh/id_rsa: [] Identity added: /home/name/.ssh/id_rsa After this, it should hopefully work
If you get the following exception:
$ ./zookeeper-server-start.sh ../config/zookeeper.properties
Error: Could not find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
then you will have to do the following:
$ ./gradlew jar
to build the Kafka distribution and get the dependencies.
File menu -> Settings -> Editor -> Virtual Space and uncheck 'Allow placement of caret after end of line'. Also uncheck the other options in the Virtual Space panel. If you want to remove trailing whitespaces, you can do File menu-->Settings --> Editor --> Strip Whitespaces on Save to either "All" or "ModifiedLines".
Dock it, turn the dock over, and hit the button underneath with a pen or
paperclip. The FitBit will reboot, displaying the current firmware
version and the battery level, then will continue charging. This will
not delete any of the tracker data.
Completely erase all information on your FitBit:
1. Put the fitbit on the base station
2. Look under base station and you'll see a tiny hole. That's the reset button that you can push with a small pen or paperclip.
3. Press and hold the button on the Fitbit itself and press the reset button
4. Keep the button on the Fitbit pressed for 6 seconds.
5. Take the Fitbit off the base station
6. Press the button on the Fitbit
7. It should say "Testing" and then "Pass"
8. Press and hold the button until it says "Erase"
Power Off Your FitBit:
Unplug the dock. Dock the FitBit on the unplugged dock, then press the reset button on the bottom.
There may be instances where the code you are developing is binding to a particular port that is lower than 1024. So you will not be able to bind to that port.
You will see something like a SocketException : permission denied.
If you are sure that this is temporary and you are developing on your Apple laptop, then do the following in a terminal window:
$>cd IntelliJ\ IDEA\ 12\ CE.app/Contents/MacOS/
$> sudo ./idea
Now IntelliJ is running with sudo permissions.
WARNING: This is a sensitive operation. Do not try it on Apple based servers or production environments.
If you are seeing the following error "No Persistence provider for EntityManager named" and scratching your brains, ensure that the hibernate-entitymanager.jar is on the classpath.
Also you should have a META-INF/persistence.xml in your jars someplace.
To locate it, right-click on the Eclipse Application icon and select "Show Package Contents", then double-click on the "Contents" folder and then double-click on the "MacOS" folder, the home of eclipse.ini. You can use Applications->Text Edit to change the eclipse.ini file. :) Usually you want to adjust the heap settings.