How to Disable IPv6 in Windows 10 기타

Command Prompt Method

Adding a registry key with the command prompt can be easier for some people and more dangerous for others.

Start a command prompt with administrative permissions and enter (or copy and paste) the following command and press the Enter key:

reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFFFFFFFF

ZooKeeper - Last transaction was partial. EOFException NoSQL/Big Data/DB

주키퍼를 한대만 사용하다가 결국 디스크 풀이 나서 다시 실행이 안된다.
로그는 아래처럼 나오고.. 결국은 데이터 폴더를 날리고서야 다시 실행 가능.
테스트 서버라서 다행이지 상용이었으면 ...

검색해보니 사용중인 3.4.X 버전에서는 해결이 안되고, 3.6 버전에서는 이런 문제가 발생 안하도록 해결한거 같다.

2017-03-27 15:41:37,364 [myid:] - ERROR [main:Util@239] - Last transaction was partial.
2017-03-27 15:41:37,365 [myid:] - ERROR [main:StreamsQuorumPeer@346] - Exception occurred during ZooKeeper startup. Error msg: null
at org.apache.jute.BinaryInputArchive.readInt(
at org.apache.zookeeper.server.persistence.FileHeader.deserialize(
at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamC ...

How to remove OpenJDK and install Oracle JDK NoSQL/Big Data/DB

Step 1. What JDK version is installed?

The output from java -version will display the currently installed java version.

# java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (rhel- u55-b13)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

Step2. Remove OpenJDK

The following command will remove all java packages. Note that the output has been omitted for brevity

# yum -y remove java*

The java -version command should no longer display the currently installed java version.

# java -version
-bash: /usr/bin/java: No such file or directory

Step 3. Download Oracle JDK

Note that at on the publish date of this article CaféX software has been verified with Java 8 which can be obtained from the Oracle website Note that the 64bit linux version is required - jdk-8u131-linux-x64.*. Note that this article will install using the rpm. The rpm can also be downloaded using wget as follows:

#  wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie"

This will download the rpm into the current folder. 

Step 4. Install the Oracle JDK

# rpm -ivh jdk-8u144-linux-x64.rpm

This will install the update 144 of java 8:

# java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

Note that java will be installed into /usr/java and establish softlinks as follows:

# ll /usr/java
total 4
lrwxrwxrwx. 1 root root 16 Jun 17 18:48 default -> /usr/java/latest
drwxr-xr-x. 8 root root 4096 Jun 17 18:48 jdk1.8.0_131
lrwxrwxrwx. 1 root root 21 Jun 17 18:48 latest -> /usr/java/jdk1.8.0_131

Note that when installing CafeX software the path to the installed version must be specified. CafeX recommends using the /usr/java/latest softlink which will make updating the java version seamless.

Rolling Restart of Metrics Monitors NoSQL/Big Data/DB

올... 암바리에서 이런 방식도 지원한다.

Express Upgrade to HDP- NoSQL/Big Data/DB

암바리에서 대부분 자동으로 해주지만... 쉽지 않네...

1 2 3 4 5 6 7 8 9 10 다음

Google Analytics