How to Disable IPv6 in Windows 10 기타

http://www.techunboxed.com/2014/10/how-to-disable-ipv6-in-windows-10.html

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
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:403)
at org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63)
at org.apache.zookeeper.server.persistence.FileHeader.deserialize(FileHeader.java:64)
at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamC ...



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

https://support.cafex.com/hc/en-us/articles/200874471-How-to-remove-OpenJDK-and-install-Oracle-JDK

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-2.4.7.1.el6_5-x86_64 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 http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html. 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"  http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.rpm

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-2.6.2.0 NoSQL/Big Data/DB

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


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

Google Analytics