Skip to content

Instantly share code, notes, and snippets.

View ES_ERROR_2
[2018-12-06T13:48:18,137][INFO ][o.e.n.Node ] [] initializing ...
[2018-12-06T13:48:18,259][INFO ][o.e.e.NodeEnvironment ] [WjriN90] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [23.3gb], net total_space [29.4gb], types [rootfs]
[2018-12-06T13:48:18,260][INFO ][o.e.e.NodeEnvironment ] [WjriN90] heap size [1007.3mb], compressed ordinary object pointers [true]
[2018-12-06T13:48:18,272][INFO ][o.e.n.Node ] [WjriN90] node name derived from node ID [WjriN90YQ8eQ2w-4_g0T9A]; set [node.name] to override
[2018-12-06T13:48:18,272][INFO ][o.e.n.Node ] [WjriN90] version[6.3.2], pid[21499], build[default/tar/053779d/2018-07-20T05:20:23.451332Z], OS[Linux/2.6.32-754.6.3.el6.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_191/25.191-b12]
[2018-12-06T13:48:18,273][INFO ][o.e.n.Node ] [WjriN90] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancy
View ES_Error
./bin/elasticsearch
[2018-12-06T10:46:59,286][WARN ][o.e.b.JNANatives ] [unknown] unable to install syscall filter:
java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed
at org.elasticsearch.bootstrap.SystemCallFilter.linuxImpl(SystemCallFilter.java:341) ~[elasticsearch-6.5.2.jar:6.5.2]
at org.elasticsearch.bootstrap.SystemCallFilter.init(SystemCallFilter.java:616) ~[elasticsearch-6.5.2.jar:6.5.2]
at org.elasticsearch.bootstrap.JNANatives.tryInstallSystemCallFilter(JNANatives.java:258) [elasticsearch-6.5.2.jar:6.5.2]
at org.elasticsearch.bootstrap.Natives.tryInstallSystemCallFilter(Natives.java:113) [elasticsearch-6.5.2.jar:6.5.2]
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:108) [elasticsearch-6.5.2.jar:6.5.2]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170) [elasticsearch-6.5.2.jar:6.5.2]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.ja
View gist:597ca5dad2c903ef2fac2e2a74c6e500
Windows 2003: netsh firewall add portopening TCP 139 winexe enable subnet
Windows Vista
=============
netsh advfirewall firewall set rule group="Remote Service Management" new enable=yes
Windows 7
=========
netsh advfirewall firewall add rule name=winexe dir=in action=allow protocol=TCP localport=139
@np97190
np97190 / Main.java
Created Mar 14, 2016 — forked from SaitoWu/Main.java
jgit example
View Main.java
class Main{
public static void main(String args[]){
String name = "Saito";
String password = "a1c2bf1890eb";
String url = "http://localhost:9292/Saito/simba.git";
// credentials
CredentialsProvider cp = new UsernamePasswordCredentialsProvider(name, password);
// clone
File dir = new File("/tmp/abc");