Skip to content
Snippets Groups Projects
Commit 367ff427 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

- Add Cesium as ES plugin site

parent 775a4184
Branches
Tags
No related merge requests found
Showing
with 604 additions and 154 deletions
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
<exec.classpathScope>provided</exec.classpathScope> <exec.classpathScope>provided</exec.classpathScope>
<duniter4j-elasticsearch.config>${project.basedir}/src/test/resources/duniter4j-elasticsearch-test.properties</duniter4j-elasticsearch.config> <duniter4j-elasticsearch.config>${project.basedir}/src/test/resources/duniter4j-elasticsearch-test.properties</duniter4j-elasticsearch.config>
<cesium.download.url>https://github.com/duniter/cesium/releases/download/${cesium.version}/cesium-web-${cesium.version}.zip</cesium.download.url>
</properties> </properties>
<dependencies> <dependencies>
...@@ -338,13 +340,15 @@ ...@@ -338,13 +340,15 @@
<executions> <executions>
<execution> <execution>
<id>copy-dependencies</id> <id>copy-dependencies</id>
<phase>initialize</phase> <phase>prepare-package</phase>
<goals> <goals>
<goal>copy-dependencies</goal> <goal>copy-dependencies</goal>
</goals> </goals>
<configuration> <configuration>
<outputDirectory>${project.build.directory}/es-home/plugins/${project.artifactId}</outputDirectory> <outputDirectory>${project.build.directory}/es-home/plugins/${project.artifactId}</outputDirectory>
<excludeArtifactIds>jna,jackson-core,log4j,elasticsearch</excludeArtifactIds> <excludeArtifactIds>jna,jackson-core,log4j,elasticsearch</excludeArtifactIds>
<overWriteSnapshots>true</overWriteSnapshots>
<silent>true</silent>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
...@@ -368,26 +372,39 @@ ...@@ -368,26 +372,39 @@
</dependencies> </dependencies>
<executions> <executions>
<execution> <execution>
<id>download-attachment-mapper-plugin</id> <id>unpack-elasticsearch-binaries</id>
<phase>initialize</phase> <phase>initialize</phase>
<goals> <goals>
<goal>run</goal> <goal>run</goal>
</goals> </goals>
<configuration> <configuration>
<target> <target>
<copy todir="${project.build.directory}/es-home"> <copy todir="${es.home}">
<fileset dir="${project.build.directory}/elasticsearch-${elasticsearch.version}"> <fileset dir="${project.build.directory}/elasticsearch-${elasticsearch.version}">
</fileset> </fileset>
</copy> </copy>
<chmod perm="u+x"> <chmod perm="u+x">
<fileset dir="${project.build.directory}/es-home/bin"> <fileset dir="${es.home}/bin">
<include name="elasticsearch"/> <include name="elasticsearch"/>
</fileset> </fileset>
</chmod> </chmod>
<copy todir="${project.build.directory}/es-home/config" overwrite="true"> <copy todir="${es.home}/config"
overwrite="true"
filtering="true">
<fileset dir="${basedir}/src/main/assembly/config"> <fileset dir="${basedir}/src/main/assembly/config">
</fileset> </fileset>
</copy> </copy>
</target>
</configuration>
</execution>
<execution>
<id>download-attachment-mapper-plugin</id>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<!-- download attachment plugin --> <!-- download attachment plugin -->
<get src="https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/${elasticsearch.version}/mapper-attachments-${elasticsearch.version}.zip" <get src="https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/mapper-attachments/${elasticsearch.version}/mapper-attachments-${elasticsearch.version}.zip"
...@@ -395,20 +412,54 @@ ...@@ -395,20 +412,54 @@
verbose="false" verbose="false"
usetimestamp="true"/> usetimestamp="true"/>
<unzip src="${project.build.directory}/mapper-attachments-${elasticsearch.version}.zip" <unzip src="${project.build.directory}/mapper-attachments-${elasticsearch.version}.zip"
dest="${project.build.directory}/es-home/plugins/mapper-attachments" dest="${es.home}/plugins/mapper-attachments"
overwrite="true"> overwrite="true">
</unzip> </unzip>
<copy todir="${project.build.directory}/es-home/plugins/${project.artifactId}"> </target>
<fileset dir="${project.build.directory}/classes"> </configuration>
</execution>
<execution>
<id>download-cesium</id>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<!-- download cesium >
<get src="${cesium.download.url}"
dest="${project.build.directory}/cesium-web-${cesium.version}.zip"
verbose="false"
usetimestamp="true"/>
<unzip src="${project.build.directory}/cesium-web-${cesium.version}.zip"
dest="${duniter4j.plugin.directory}/_site"
overwrite="true">
</unzip-->
</target>
</configuration>
</execution>
<execution>
<id>install-duniter-plugin</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<!-- Copy descriptor file and security files -->
<copy todir="${duniter4j.plugin.directory}"
filtering="true">
<fileset dir="${basedir}/src/main/filtered-resources">
<include name="plugin-descriptor.properties"/> <include name="plugin-descriptor.properties"/>
<include name="plugin-security.policy"/> <include name="plugin-security.policy"/>
</fileset> </fileset>
</copy> </copy>
<!-- remove redundant lib in duniter plugin --> <!-- Remove redundant lib in duniter plugin -->
<ac:for param="file" xmlns:ac="antlib:net.sf.antcontrib"> <ac:for param="file" xmlns:ac="antlib:net.sf.antcontrib">
<path> <path>
<fileset dir="${project.build.directory}/es-home/plugins/${project.artifactId}"> <fileset dir="${duniter4j.plugin.directory}">
<include name="**/*.jar"/> <include name="**/*.jar"/>
</fileset> </fileset>
</path> </path>
...@@ -416,20 +467,20 @@ ...@@ -416,20 +467,20 @@
<local name="filename" /> <local name="filename" />
<basename property="filename" file="@{file}"/> <basename property="filename" file="@{file}"/>
<ac:if> <ac:if>
<available file="${project.build.directory}/es-home/lib/${filename}"/> <available file="${es.home}/lib/${filename}"/>
<then> <then>
<!--echo message="Remove lib from plugin: ${filename}"/--> <!--echo message="Remove lib from plugin: ${filename}"/-->
<delete file="${project.build.directory}/es-home/plugins/${project.artifactId}/${filename}"/> <delete file="${duniter4j.plugin.directory}/${filename}"/>
</then> </then>
</ac:if> </ac:if>
</sequential> </sequential>
</ac:for> </ac:for>
<delete> <delete>
<fileset dir="${project.build.directory}/es-home/plugins/${project.artifactId}"> <fileset dir="${duniter4j.plugin.directory}">
<include name="guava-*.jar"/> <include name="guava-*.jar"/>
</fileset> </fileset>
</delete> </delete>
<copy todir="${project.build.directory}/es-home/plugins/${project.artifactId}"> <copy todir="${duniter4j.plugin.directory}">
<fileset dir="${project.build.directory}"> <fileset dir="${project.build.directory}">
<include name="${project.artifactId}-${project.version}.${project.packaging}"/> <include name="${project.artifactId}-${project.version}.${project.packaging}"/>
</fileset> </fileset>
...@@ -450,10 +501,10 @@ ...@@ -450,10 +501,10 @@
<goals> <goals>
<goal>exec</goal> <goal>exec</goal>
</goals> </goals>
<phase>compile</phase> <phase>package</phase>
<configuration> <configuration>
<executable>${project.build.directory}/es-home/bin/elasticsearch</executable> <executable>${es.home}/bin/elasticsearch</executable>
<workingDirectory>${basedir}/src/test/es-home</workingDirectory> <workingDirectory>${es.home}</workingDirectory>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
...@@ -466,12 +517,10 @@ ...@@ -466,12 +517,10 @@
<exec.classpathScope>runtime</exec.classpathScope> <exec.classpathScope>runtime</exec.classpathScope>
<duniter4j.log.file>${project.build.directory}/exec.log</duniter4j.log.file> <duniter4j.log.file>${project.build.directory}/exec.log</duniter4j.log.file>
<duniter4j.basedir>${project.build.directory}</duniter4j.basedir> <es.home>${project.build.directory}/es-home</es.home>
<duniter4j.plugins.directory>${basedir}}/src/test/es-home/plugins</duniter4j.plugins.directory> <duniter4j.basedir>${es.home}</duniter4j.basedir>
<duniter4j.plugin.directory>${es.home}/plugins/${project.artifactId}</duniter4j.plugin.directory>
<es.http.cors.allow-origin>*</es.http.cors.allow-origin> <es.http.cors.allow-origin>*</es.http.cors.allow-origin>
<!--exec.args>
start index - -host metab.ucoin.fr - -port 9201
</exec.args-->
</properties> </properties>
</profile> </profile>
</profiles> </profiles>
......
...@@ -69,6 +69,7 @@ http.cors.enabled: false ...@@ -69,6 +69,7 @@ http.cors.enabled: false
# The default list of hosts is ["127.0.0.1", "[::1]"] # The default list of hosts is ["127.0.0.1", "[::1]"]
# #
# discovery.zen.ping.unicast.hosts: ["host1", "host2"] # discovery.zen.ping.unicast.hosts: ["host1", "host2"]
#discovery.zen.ping.unicast.hosts: ["127.0.0.1", ""]
# #
# Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1): # Prevent the "split brain" by configuring the majority of nodes (total number of nodes / 2 + 1):
# #
......
...@@ -16,7 +16,7 @@ logger: ...@@ -16,7 +16,7 @@ logger:
org.apache.http: INFO org.apache.http: INFO
org.duniter: TRACE org.duniter: INFO
# gateway # gateway
#gateway: DEBUG #gateway: DEBUG
......
@echo off
REM Comment out this line to specify your JAVA path:
REM SET JAVA_HOME=<path_to_java>
set OLDDIR=%CD%
cd /d %~dp0%
set APP_BASEDIR=%CD%
set JAVA_COMMAND=%JAVA_HOME%\bin\java
set APP_LOG_FILE=%APP_BASEDIR%\data\${project.artifactId}-${project.version}.log
set JAVA_OPTS=-Xmx1G
set APP_CONF_FILE=%APP_BASEDIR%\duniter4j.config
if not exist "%JAVA_HOME%" goto no_java
echo ===============================================================================
echo .
echo ${project.name}
echo .
echo JAVA: %JAVA_COMMAND%
echo .
echo JAVA_OPTS: %JAVA_OPTS%
echo .
echo log file: %APP_LOG_FILE%
echo .
echo ===============================================================================
echo .
set OLDDIR=%CD%
cd /d %~dp0%
call "%JAVA_COMMAND%" %JAVA_OPTS% "-Dduniter4j.log.file=%APP_LOG_FILE%" ""-Dduniter4j-elasticsearch.config=%APP_CONF_FILE%" -Djna.nosys=true -jar ${project.build.finalName}.${project.packaging} %1 %2 %3 %4 %5 %6 %7 %8 %9
set exitcode=%ERRORLEVEL%
echo Stop with exitcode: %exitcode%
cd %OLDDIR%
exit /b %exitcode%
goto end
no_java:
echo "Java not detected ! Please set environment variable JAVA_HOME before launching,"
echo "or edit the file 'launch.bat' and insert this line :"
echo " SET JAVA_HOME=<path_to_java>"
:end
#!/bin/bash
REP=$(dirname $0)
cd $REP
#Comment out this line to specify your JAVA path:
export JAVA_HOME=/usr/lib/jvm/default-java
export APP_BASEDIR=$REP
export JAVA_COMMAND=$JAVA_HOME/bin/java
export APP_LOG_FILE=$APP_BASEDIR/logs/${project.artifactId}-${project.version}.log
export APP_CONF_FILE=$APP_BASEDIR/duniter4j.config
cd $APP_BASEDIR
if [ -d $JAVA_HOME ]; then
echo "${project.name}"
echo " basedir: $APP_BASEDIR"
echo " jre home: $JAVA_HOME"
echo " log file: $APP_LOG_FILE"
MEMORY="-Xmx1G"
#APP_JVM_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000"
echo "launch java"
echo "java command: $JAVA_COMMAND"
$JAVA_COMMAND $MEMORY $APP_JVM_OPTS -Dduniter4j.log.file=$APP_LOG_FILE -Dduniter4j-elasticsearch.config=$APP_CONF_FILE -Djna.nosys=true -jar ${project.build.finalName}.${project.packaging} $*
exitcode=$?
echo "Stop ${project.name} with exitcode: $exitcode"
exit $exitcode
else
echo "Java not detected ! Please set environment variable JAVA_HOME before launching,"
echo "or edit the file 'launch.sh' and insert this line :"
echo " export JAVA_HOME=<path_to_java>"
fi
#Basic config
# ----------------------------------------------------------
# Node to use for blockchain indexation. Must have a BMA API
# ----------------------------------------------------------
# Node host
# Could be override using option : '-h <host>'
#duniter4j.node.host=metab.ucoin.io
# Node port
# Could be override using option : '-p <port>'
#duniter4j.node.port=9201
# ----------------------------------------------------------
# ES Node
# ----------------------------------------------------------
# ES Cluster name
# By default: 'duniter4j-elacticsearch'
# See ES config 'cluster.name'
#duniter4j.elasticsearch.cluster.name=duniter4j-elacticsearch
# Should start a embedded ES node
# By default: false
#duniter4j.elasticsearch.embedded.enable=true
# If not embedded: ES Node Host
# Could be override using option : '-esh <host>'
#duniter4j.elasticsearch.host=192.168.0.5
# If not embedded: ES Node Port
# Could be override using option : '-esp <port>'
#duniter4j.elasticsearch.port=9300
# If embedded: Only for a local use (do not connect to other nodes on cluster)
# By default: false
# See ES config 'local'
#duniter4j.elasticsearch.local=true
# If embedded: Open a port for HTTP access
# By default: true
# See ES config 'http.enable'
#duniter4j.elasticsearch.http.enable=false
name=duniter4j-elasticsearch name=duniter4j-elasticsearch
description=Plugin for Duniter node indexation description=Plugin for Duniter node indexation
version=${project.version} version=${project.version}
site=false site=true
jvm=true jvm=true
classname=org.duniter.elasticsearch.Plugin classname=org.duniter.elasticsearch.Plugin
java.version=1.7 java.version=1.7
......
#Generated by org.nuiton.i18n.init.UserI18nInitializer
#Mon Aug 01 16:23:47 CEST 2016
locales=fr_FR,en_GB
bundles.en_GB=i18n/nuiton-utils_en_GB.properties,i18n/duniter4j-core-client_en_GB.properties,i18n/duniter4j-elasticsearch_en_GB.properties,i18n/ucoinj-elasticsearch_en_GB.properties
version=0.1
encoding=UTF-8
bundles.fr_FR=i18n/nuiton-utils_fr_FR.properties,i18n/duniter4j-core-client_fr_FR.properties,i18n/duniter4j-elasticsearch_fr_FR.properties,i18n/ucoinj-elasticsearch_fr_FR.properties
#Mon Aug 01 16:23:45 CEST 2016
duniter4j-elasticsearch.config=
duniter4j.blockIndexerService.indexBlock=[%s] [%s] Indexing block \#%s
duniter4j.blockIndexerService.indexLastBlocks.otherPeers.task=Indexing missing blocks of [%s] from other peers
duniter4j.blockIndexerService.indexLastBlocks.progress=[%s] [%s] Indexing block \#%s / %s (%s%%)...
duniter4j.blockIndexerService.indexLastBlocks.stopped=[%s] [%s] Indexing last block - stopped
duniter4j.blockIndexerService.indexLastBlocks.task=Indexing last blocks of [%s] from peer [%s\:%s]...
duniter4j.config=
duniter4j.config.option.basedir.description=
duniter4j.config.option.cache.directory.description=
duniter4j.config.option.data.directory.description=
duniter4j.config.option.elasticsearch.bulk.enable.description=
duniter4j.config.option.elasticsearch.bulk.size.description=
duniter4j.config.option.elasticsearch.cluster.name.description=
duniter4j.config.option.elasticsearch.embedded.enable.description=
duniter4j.config.option.elasticsearch.host.description=
duniter4j.config.option.elasticsearch.local.description=
duniter4j.config.option.elasticsearch.network.host.description=
duniter4j.config.option.elasticsearch.string.analyze.description=
duniter4j.config.option.i18n.directory.description=
duniter4j.config.option.i18n.locale.description=
duniter4j.config.option.inceptionYear.description=
duniter4j.config.option.index.parallel_processing.description=
duniter4j.config.option.launch.mode.description=
duniter4j.config.option.network.timeout.description=
duniter4j.config.option.node.currency.description=
duniter4j.config.option.node.elasticsearch.cluster.name.description=
duniter4j.config.option.node.elasticsearch.clusterName.description=
duniter4j.config.option.node.elasticsearch.daemon.description=
duniter4j.config.option.node.elasticsearch.embeddeb.description=
duniter4j.config.option.node.elasticsearch.embeddeb.http.description=
duniter4j.config.option.node.elasticsearch.embeddeb.local.description=
duniter4j.config.option.node.elasticsearch.embedded.enable.description=
duniter4j.config.option.node.elasticsearch.embedded.http.enable.description=
duniter4j.config.option.node.elasticsearch.embedded.local.description=
duniter4j.config.option.node.elasticsearch.host.description=
duniter4j.config.option.node.elasticsearch.http.enable.description=
duniter4j.config.option.node.elasticsearch.local.clusterName.description=
duniter4j.config.option.node.elasticsearch.local.description=
duniter4j.config.option.node.elasticsearch.port.description=
duniter4j.config.option.node.elasticsearch.protocol.description=
duniter4j.config.option.node.elasticsearch.rest.host.description=
duniter4j.config.option.node.elasticsearch.rest.port.description=
duniter4j.config.option.node.elasticsearch.rest.protocol.description=
duniter4j.config.option.node.elasticsearch.rest.url.description=
duniter4j.config.option.node.elasticsearch.url.description=
duniter4j.config.option.node.host.description=
duniter4j.config.option.node.port.description=
duniter4j.config.option.node.protocol.description=
duniter4j.config.option.organizationName.description=
duniter4j.config.option.passwd.description=
duniter4j.config.option.plugins.directory.description=
duniter4j.config.option.salt.description=
duniter4j.config.option.site.url.description=
duniter4j.config.option.taskExecutor.queueCapacity.description=
duniter4j.config.option.tasks.queueCapacity.description=
duniter4j.config.option.temp.directory.description=
duniter4j.config.option.tmp.directory.description=
duniter4j.config.option.version.description=
duniter4j.config.parse.error=
duniter4j.executor.task.waitingExecution=
duniter4j.job.stopped=
duniter4j.job.stopping=
duniter4j.job.success=
duniter4j.task.issuer.system=System
duniter4j.task.starting=Starting task...
nuitonutil.config.moving.conf=Moving old configuration file from %s to %s
nuitonutil.debug.objectutil.create=Try to create %s with %s
nuitonutil.debug.objectutil.instantiate=Can't instantiate %s with params %s
nuitonutil.debug.objectutil.invoke=Invoke %s with %s
nuitonutil.error.add.url.in.classloader=Can't add url in classloader %1$s for reason %2$s
nuitonutil.error.applicationconfig.save=Can't save config in file %s
nuitonutil.error.cant.instanciate.class=Class %s can't be instanciated with %s
nuitonutil.error.class.with.more.than.one.constructor=Your class %s has more than one constructor
nuitonutil.error.convert.file.to.url=Can't convert %s for reason %s
nuitonutil.error.convertor.noValue=No value specified for converter %s
nuitonutil.error.could.not.addPCL=Could not add the PropertychangeListener %1$s on object %2$s for following reason \: %3$s
nuitonutil.error.could.not.find.MD5=Could not find MD5 algorithm
nuitonutil.error.could.not.removePCL=Could remove the PropertychangeListener %1$s from object %2$s for following reason \: %3$s
nuitonutil.error.get.url.from.zip=Error while reading %s \: %s
nuitonutil.error.no.convertor=no convertor found for type %2$s and objet '%1$s'
nuitonutil.error.not.an.enum=The type %1$s ins not an Enum type
nuitonutil.error.null.parameter=The parameter %1$s is null\!
nuitonutil.error.resource.not.found=Can't find resource \: %s
nuitonutil.error.unfound.assignable.argument=Can't find assignable argument for %s in %s
nuitonutil.error.unfound.month=could not found month from '%s', use default month '%s'
nuitonutil.error.unknown.url.type=could not treate unknown type of url %1$s
nuitonutil.error.url.convertor=a problem occurs while converting value '%s' with url convertor %s for reason %s
nuitonutil.error.version.convertor=Could not convert version %1$s with converter %2$s for reason \: %3$s
nuitonutil.error.version.pattern=Pattern of version not found for %1$s
nuitonutil.fileCompletion.cancel=.. to cancel or return to parent directory
nuitonutil.fileCompletion.enter=Enter to display file list, or to complete path
nuitonutil.fileCompletion.exit=Enter "\!q" to exit
nuitonutil.fileCompletion.save=Enter "\!s" in the end of the file name to save
nuitonutil.month.april=april
nuitonutil.month.august=august
nuitonutil.month.december=december
nuitonutil.month.february=february
nuitonutil.month.january=january
nuitonutil.month.july=july
nuitonutil.month.june=june
nuitonutil.month.march=march
nuitonutil.month.may=may
nuitonutil.month.november=november
nuitonutil.month.october=october
nuitonutil.month.september=september
#Mon Aug 01 16:23:45 CEST 2016
duniter4j-elasticsearch.config=
duniter4j.blockIndexerService.indexBlock=[%s] [%s] Indexing block \#%s
duniter4j.blockIndexerService.indexLastBlocks.otherPeers.task=Indexing missing blocks of [%s] from other peers
duniter4j.blockIndexerService.indexLastBlocks.progress=[%s] [%s] Indexing block \#%s / %s (%s%%)...
duniter4j.blockIndexerService.indexLastBlocks.stopped=[%s] [%s] Indexing last block - stopped
duniter4j.blockIndexerService.indexLastBlocks.task=Indexing last blocks of [%s] from peer [%s\:%s]...
duniter4j.config=
duniter4j.config.option.basedir.description=
duniter4j.config.option.cache.directory.description=
duniter4j.config.option.data.directory.description=
duniter4j.config.option.elasticsearch.bulk.enable.description=
duniter4j.config.option.elasticsearch.bulk.size.description=
duniter4j.config.option.elasticsearch.cluster.name.description=
duniter4j.config.option.elasticsearch.embedded.enable.description=
duniter4j.config.option.elasticsearch.host.description=
duniter4j.config.option.elasticsearch.local.description=
duniter4j.config.option.elasticsearch.network.host.description=
duniter4j.config.option.elasticsearch.string.analyze.description=
duniter4j.config.option.i18n.directory.description=
duniter4j.config.option.i18n.locale.description=
duniter4j.config.option.inceptionYear.description=
duniter4j.config.option.index.parallel_processing.description=
duniter4j.config.option.launch.mode.description=
duniter4j.config.option.network.timeout.description=
duniter4j.config.option.node.currency.description=
duniter4j.config.option.node.elasticsearch.cluster.name.description=
duniter4j.config.option.node.elasticsearch.clusterName.description=
duniter4j.config.option.node.elasticsearch.daemon.description=
duniter4j.config.option.node.elasticsearch.embeddeb.description=
duniter4j.config.option.node.elasticsearch.embeddeb.http.description=
duniter4j.config.option.node.elasticsearch.embeddeb.local.description=
duniter4j.config.option.node.elasticsearch.embedded.enable.description=
duniter4j.config.option.node.elasticsearch.embedded.http.enable.description=
duniter4j.config.option.node.elasticsearch.embedded.local.description=
duniter4j.config.option.node.elasticsearch.host.description=
duniter4j.config.option.node.elasticsearch.http.enable.description=
duniter4j.config.option.node.elasticsearch.local.clusterName.description=
duniter4j.config.option.node.elasticsearch.local.description=
duniter4j.config.option.node.elasticsearch.port.description=
duniter4j.config.option.node.elasticsearch.protocol.description=
duniter4j.config.option.node.elasticsearch.rest.host.description=
duniter4j.config.option.node.elasticsearch.rest.port.description=
duniter4j.config.option.node.elasticsearch.rest.protocol.description=
duniter4j.config.option.node.elasticsearch.rest.url.description=
duniter4j.config.option.node.elasticsearch.url.description=
duniter4j.config.option.node.host.description=
duniter4j.config.option.node.port.description=
duniter4j.config.option.node.protocol.description=
duniter4j.config.option.organizationName.description=
duniter4j.config.option.passwd.description=
duniter4j.config.option.plugins.directory.description=
duniter4j.config.option.salt.description=
duniter4j.config.option.site.url.description=
duniter4j.config.option.taskExecutor.queueCapacity.description=
duniter4j.config.option.tasks.queueCapacity.description=
duniter4j.config.option.temp.directory.description=
duniter4j.config.option.tmp.directory.description=
duniter4j.config.option.version.description=
duniter4j.config.parse.error=
duniter4j.executor.task.waitingExecution=
duniter4j.job.stopped=
duniter4j.job.stopping=
duniter4j.job.success=
duniter4j.task.issuer.system=Système
duniter4j.task.starting=Démarrage du traitement...
nuitonutil.config.moving.conf=Déplacement du fichier de configuration depuis %s vers %s
nuitonutil.debug.objectutil.create=Essaye de créer %s avec %s
nuitonutil.debug.objectutil.instantiate=Ne peut pas instancier %s avec les paramêtres %s
nuitonutil.debug.objectutil.invoke=Invocation de %s avec %s
nuitonutil.error.add.url.in.classloader=Impossible d'ajouter une url dans le classloader %s pour la raison \: %s
nuitonutil.error.applicationconfig.save=Impossible de sauvegarder le fichier de configuration dans %s
nuitonutil.error.cant.instanciate.class=La Classe %s n'a pas pu être instanciée avec %s
nuitonutil.error.class.with.more.than.one.constructor=Votre classe %s a plus d'un constructeur
nuitonutil.error.convert.file.to.url=Le fichier '%1$s' n'a pas pu être converti en URL pour la raison suivante \: %2$S
nuitonutil.error.convertor.noValue=Aucune valeur à convertir pour le convertisseur %s
nuitonutil.error.could.not.addPCL=N'a pas pu ajouté le PropertychangeListener %1$s sur l'objet %2$s pour la raison suivante \: %3$s
nuitonutil.error.could.not.find.MD5=L'algorithme MD5 n'a pas été trouvé\!
nuitonutil.error.could.not.removePCL=N'a pas pu enlevé le PropertychangeListener %1$s sur l'objet %2$s pour la raison suivante \: %3$s
nuitonutil.error.get.url.from.zip=Erreur lors de la lecture du fichier compressé %1$s \: %2$s
nuitonutil.error.no.convertor=Aucun convertisseur trouvé pour le type %2$s et l''objet '%1$s'
nuitonutil.error.not.an.enum=Le type %1$s n'est pas une enumeration java
nuitonutil.error.null.parameter=Le paramètre '%1$s' est null\!
nuitonutil.error.resource.not.found=Impossible de trouver la ressource \: %s
nuitonutil.error.unfound.assignable.argument=N'a pas pu trouver un argument assignable pour %s dans %s
nuitonutil.error.unfound.month=n'a pas pu trouvé le mois à partir de '%s', utilise le mois par défaut '%s'
nuitonutil.error.unknown.url.type=could not treate unknown type of url %1$s
nuitonutil.error.url.convertor=Un problème est apparu lors de la convertion en url de '%s' avec le convertisseur %s pour la raison suivante \: %s
nuitonutil.error.version.convertor=N'a pas pu convertir la valeur %1$s avec le converter %2$s pour la raison suivante \: %3$s
nuitonutil.error.version.pattern=Pattern de version non connu pour %1$s
nuitonutil.fileCompletion.cancel=.. pour annuler ou pour revenir au repertoire précédent
nuitonutil.fileCompletion.enter=Entrer pour afficher la liste des fichiers, ou pour compléter le chemin
nuitonutil.fileCompletion.exit=Saisir "\!q" pour quitter
nuitonutil.fileCompletion.save=Saisir "\!s" a la fin du nom de fichier pour l'enregistrer
nuitonutil.month.april=avril
nuitonutil.month.august=août
nuitonutil.month.december=décembre
nuitonutil.month.february=février
nuitonutil.month.january=janvier
nuitonutil.month.july=juillet
nuitonutil.month.june=juin
nuitonutil.month.march=mars
nuitonutil.month.may=mai
nuitonutil.month.november=novembre
nuitonutil.month.october=octobre
nuitonutil.month.september=septembre
[2016-08-01 16:09:05,743][WARN ][bootstrap ] JNA not found. native methods will be disabled.
java.lang.ClassNotFoundException: com.sun.jna.Native
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.elasticsearch.bootstrap.Natives.<clinit>(Natives.java:45)
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:89)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294)
at java.lang.Thread.run(Thread.java:745)
[2016-08-01 16:09:05,745][WARN ][bootstrap ] cannot check if running as root because JNA is not available
[2016-08-01 16:09:05,745][WARN ][bootstrap ] cannot install syscall filters because JNA is not available
[2016-08-01 16:09:05,745][WARN ][bootstrap ] cannot register console handler because JNA is not available
[2016-08-01 16:09:05,799][INFO ][node ] [Steel Raven] version[2.3.3], pid[4186], build[218bdf1/2016-05-17T15:40:04Z]
[2016-08-01 16:09:05,799][INFO ][node ] [Steel Raven] initializing ...
[2016-08-01 16:09:05,908][INFO ][plugins ] [Steel Raven] modules [], plugins [duniter], sites []
[2016-08-01 16:09:05,923][INFO ][env ] [Steel Raven] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [88.4gb], net total_space [101.7gb], spins? [no], types [ext4]
[2016-08-01 16:09:05,923][INFO ][env ] [Steel Raven] heap size [3.4gb], compressed ordinary object pointers [true]
[2016-08-01 16:09:07,410][ERROR][bootstrap ] Exception
java.util.ServiceConfigurationError: org.duniter.core.beans.Bean: Provider org.duniter.core.service.Ed25519CryptoServiceImpl could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:232)
at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.duniter.core.beans.BeanFactory.newBean(BeanFactory.java:83)
at org.duniter.core.beans.BeanFactory.getBean(BeanFactory.java:57)
at org.duniter.core.client.service.ServiceLocator.getBean(ServiceLocator.java:144)
at org.duniter.elasticsearch.service.ServiceLocator$Provider.get(ServiceLocator.java:124)
at org.duniter.elasticsearch.service.ServiceLocator$Provider.get(ServiceLocator.java:115)
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
at org.elasticsearch.common.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
at org.elasticsearch.common.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
at org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:85)
at org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:104)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:47)
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:886)
at org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:43)
at org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:59)
at org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:46)
at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:201)
at org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
at org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:879)
at org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
at org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:96)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:46)
at org.elasticsearch.node.Node.<init>(Node.java:213)
at org.elasticsearch.node.Node.<init>(Node.java:140)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsatisfiedLinkError: libsodium.so: cannot open shared object file: No such file or directory
at jnr.ffi.provider.jffi.NativeLibrary.loadNativeLibraries(NativeLibrary.java:87)
at jnr.ffi.provider.jffi.NativeLibrary.getNativeLibraries(NativeLibrary.java:70)
at jnr.ffi.provider.jffi.NativeLibrary.getSymbolAddress(NativeLibrary.java:49)
at jnr.ffi.provider.jffi.NativeLibrary.findSymbolAddress(NativeLibrary.java:59)
at jnr.ffi.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:117)
at jnr.ffi.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:59)
at jnr.ffi.provider.jffi.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:43)
at jnr.ffi.LibraryLoader.load(LibraryLoader.java:290)
at jnr.ffi.LibraryLoader.load(LibraryLoader.java:269)
at org.abstractj.kalium.NaCl$SingletonHolder.<clinit>(NaCl.java:41)
at org.abstractj.kalium.NaCl.sodium(NaCl.java:28)
at org.duniter.core.service.Ed25519CryptoServiceImpl.<init>(Ed25519CryptoServiceImpl.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
... 42 more
[2016-08-01 16:14:57,898][INFO ][node ] [Martha Johansson] version[2.3.3], pid[27898], build[218bdf1/2016-05-17T15:40:04Z]
[2016-08-01 16:14:57,898][INFO ][node ] [Martha Johansson] initializing ...
[2016-08-01 16:14:58,008][INFO ][plugins ] [Martha Johansson] modules [], plugins [duniter], sites []
[2016-08-01 16:14:58,020][INFO ][env ] [Martha Johansson] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [88.3gb], net total_space [101.7gb], spins? [no], types [ext4]
[2016-08-01 16:14:58,020][INFO ][env ] [Martha Johansson] heap size [3.4gb], compressed ordinary object pointers [true]
[2016-08-01 16:14:59,269][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.service.CryptoService]
[2016-08-01 16:14:59,269][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:14:59,269][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:14:59,271][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:14:59,271][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:14:59,450][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:14:59,450][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:14:59,451][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:14:59,451][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:14:59,451][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:14:59,451][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:14:59,451][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:14:59,451][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:14:59,453][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.CurrencyDao]
[2016-08-01 16:14:59,453][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.DataContext]
[2016-08-01 16:14:59,454][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.PeerDao]
[2016-08-01 16:14:59,544][DEBUG][org.duniter.elasticsearch.service.ServiceLocator] Starting Duniter4j client ServiceLocator...
[2016-08-01 16:14:59,596][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:14:59,596][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:14:59,596][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:14:59,597][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:14:59,600][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:14:59,600][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:14:59,600][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:14:59,600][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:14:59,600][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:14:59,601][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:14:59,601][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:14:59,601][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:14:59,601][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.CurrencyDao]
[2016-08-01 16:14:59,601][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.DataContext]
[2016-08-01 16:14:59,601][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.PeerDao]
[2016-08-01 16:14:59,601][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.service.CryptoService]
[2016-08-01 16:14:59,605][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.TransactionRemoteService]
[2016-08-01 16:14:59,605][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.TransactionRemoteService]
[2016-08-01 16:14:59,610][INFO ][node ] [Martha Johansson] initialized
[2016-08-01 16:14:59,610][INFO ][node ] [Martha Johansson] starting ...
[2016-08-01 16:14:59,623][DEBUG][org.duniter.elasticsearch.PluginSettings] [Martha Johansson] I18N directory: /home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/data/i18n
[2016-08-01 16:14:59,623][INFO ][org.duniter.elasticsearch.PluginSettings] [Martha Johansson] Starts i18n with locale [fr] at [/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/data/i18n]
[2016-08-01 16:14:59,640][DEBUG][org.duniter.elasticsearch.threadpool.ThreadPool] [Martha Johansson] Starting Duniter4j ThreadPool...
[2016-08-01 16:14:59,733][INFO ][transport ] [Martha Johansson] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2016-08-01 16:14:59,737][INFO ][discovery ] [Martha Johansson] duniter4j-elasticsearch/8ibNn5-uQSOZ4GYp08X4jg
[2016-08-01 16:15:02,797][INFO ][cluster.service ] [Martha Johansson] new_master {Martha Johansson}{8ibNn5-uQSOZ4GYp08X4jg}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-08-01 16:15:02,820][INFO ][http ] [Martha Johansson] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2016-08-01 16:15:02,820][INFO ][node ] [Martha Johansson] started
[2016-08-01 16:15:02,859][INFO ][gateway ] [Martha Johansson] recovered [0] indices into cluster_state
[2016-08-01 16:15:09,643][INFO ][org.duniter.elasticsearch.node.DuniterNode] [Martha Johansson] Checking Duniter indices...
[2016-08-01 16:15:09,650][INFO ][org.duniter.elasticsearch.service.RegistryService] Creating index [registry]
[2016-08-01 16:15:09,775][DEBUG][action.admin.indices.create] [Martha Johansson] [registry] failed to create
MapperParsingException[Failed to parse mapping [record]: No handler for type [attachment] declared on field [thumbnail]]; nested: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]];
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:332)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]]
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:303)
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:218)
at org.elasticsearch.index.mapper.object.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:139)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:118)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:99)
at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:508)
at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:288)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:329)
... 8 more
[2016-08-01 16:15:09,778][WARN ][org.duniter.elasticsearch.threadpool.ThreadPool] [Martha Johansson] failed to run org.duniter.elasticsearch.threadpool.ThreadPool$$Lambda$3/1990808042@19112bae
MapperParsingException[Failed to parse mapping [record]: No handler for type [attachment] declared on field [thumbnail]]; nested: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]];
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:332)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]]
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:303)
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:218)
at org.elasticsearch.index.mapper.object.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:139)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:118)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:99)
at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:508)
at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:288)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:329)
... 8 more
[2016-08-01 16:18:25,719][INFO ][node ] [Martha Johansson] stopping ...
[2016-08-01 16:18:25,731][INFO ][node ] [Martha Johansson] stopped
[2016-08-01 16:18:25,732][INFO ][node ] [Martha Johansson] closing ...
[2016-08-01 16:18:25,736][INFO ][node ] [Martha Johansson] closed
[2016-08-01 16:23:45,935][INFO ][node ] [Mangog] version[2.3.3], pid[28939], build[218bdf1/2016-05-17T15:40:04Z]
[2016-08-01 16:23:45,936][INFO ][node ] [Mangog] initializing ...
[2016-08-01 16:23:46,119][INFO ][plugins ] [Mangog] modules [], plugins [duniter], sites []
[2016-08-01 16:23:46,130][INFO ][env ] [Mangog] using [1] data paths, mounts [[/ (/dev/sda1)]], net usable_space [88.3gb], net total_space [101.7gb], spins? [no], types [ext4]
[2016-08-01 16:23:46,131][INFO ][env ] [Mangog] heap size [3.4gb], compressed ordinary object pointers [true]
[2016-08-01 16:23:47,553][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.service.CryptoService]
[2016-08-01 16:23:47,553][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:23:47,553][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:23:47,555][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:23:47,555][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:23:47,766][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:23:47,766][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:23:47,767][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:23:47,767][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:23:47,767][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:23:47,767][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:23:47,767][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:23:47,767][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:23:47,769][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.CurrencyDao]
[2016-08-01 16:23:47,769][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.DataContext]
[2016-08-01 16:23:47,769][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.PeerDao]
[2016-08-01 16:23:47,894][DEBUG][org.duniter.elasticsearch.service.ServiceLocator] Starting Duniter4j client ServiceLocator...
[2016-08-01 16:23:47,948][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:23:47,948][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.WotRemoteService]
[2016-08-01 16:23:47,948][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:23:47,948][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.HttpService]
[2016-08-01 16:23:47,951][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.PeerService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.local.CurrencyService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.BlockchainRemoteService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.NetworkRemoteService]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.CurrencyDao]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.DataContext]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.dao.PeerDao]
[2016-08-01 16:23:47,952][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.service.CryptoService]
[2016-08-01 16:23:47,956][DEBUG][org.duniter.core.beans.BeanFactory] Creating new bean of type [org.duniter.core.client.service.bma.TransactionRemoteService]
[2016-08-01 16:23:47,956][DEBUG][org.duniter.core.beans.BeanFactory] Initializing bean of type [org.duniter.core.client.service.bma.TransactionRemoteService]
[2016-08-01 16:23:47,959][INFO ][node ] [Mangog] initialized
[2016-08-01 16:23:47,959][INFO ][node ] [Mangog] starting ...
[2016-08-01 16:23:47,969][DEBUG][org.duniter.elasticsearch.PluginSettings] [Mangog] I18N directory: /home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/data/i18n
[2016-08-01 16:23:47,969][INFO ][org.duniter.elasticsearch.PluginSettings] [Mangog] Starts i18n with locale [fr] at [/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/data/i18n]
[2016-08-01 16:23:47,985][DEBUG][org.duniter.elasticsearch.threadpool.ThreadPool] [Mangog] Starting Duniter4j ThreadPool...
[2016-08-01 16:23:48,030][INFO ][transport ] [Mangog] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2016-08-01 16:23:48,033][INFO ][discovery ] [Mangog] duniter4j-elasticsearch/KJmh6LLQQ5WSusnJpTBtTg
[2016-08-01 16:23:51,071][INFO ][cluster.service ] [Mangog] new_master {Mangog}{KJmh6LLQQ5WSusnJpTBtTg}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2016-08-01 16:23:51,097][INFO ][http ] [Mangog] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2016-08-01 16:23:51,097][INFO ][node ] [Mangog] started
[2016-08-01 16:23:51,125][INFO ][gateway ] [Mangog] recovered [0] indices into cluster_state
[2016-08-01 16:23:57,987][INFO ][org.duniter.elasticsearch.node.DuniterNode] [Mangog] Checking Duniter indices...
[2016-08-01 16:23:57,997][INFO ][org.duniter.elasticsearch.service.RegistryService] Creating index [registry]
[2016-08-01 16:23:58,135][DEBUG][action.admin.indices.create] [Mangog] [registry] failed to create
MapperParsingException[Failed to parse mapping [record]: No handler for type [attachment] declared on field [thumbnail]]; nested: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]];
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:332)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]]
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:303)
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:218)
at org.elasticsearch.index.mapper.object.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:139)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:118)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:99)
at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:508)
at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:288)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:329)
... 8 more
[2016-08-01 16:23:58,137][WARN ][org.duniter.elasticsearch.threadpool.ThreadPool] [Mangog] failed to run org.duniter.elasticsearch.threadpool.ThreadPool$$Lambda$3/1548269356@722fa8bf
MapperParsingException[Failed to parse mapping [record]: No handler for type [attachment] declared on field [thumbnail]]; nested: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]];
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:332)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: MapperParsingException[No handler for type [attachment] declared on field [thumbnail]]
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseProperties(ObjectMapper.java:303)
at org.elasticsearch.index.mapper.object.ObjectMapper$TypeParser.parseObjectOrDocumentTypeProperties(ObjectMapper.java:218)
at org.elasticsearch.index.mapper.object.RootObjectMapper$TypeParser.parse(RootObjectMapper.java:139)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:118)
at org.elasticsearch.index.mapper.DocumentMapperParser.parse(DocumentMapperParser.java:99)
at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:508)
at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:288)
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:329)
... 8 more
[2016-08-01 16:24:34,779][INFO ][node ] [Mangog] stopping ...
[2016-08-01 16:24:34,819][INFO ][node ] [Mangog] stopped
[2016-08-01 16:24:34,819][INFO ][node ] [Mangog] closing ...
[2016-08-01 16:24:34,825][INFO ][node ] [Mangog] closed
[2016-08-01 16:25:17,447][INFO ][node ] [Hawkshaw] version[2.3.3], pid[29194], build[218bdf1/2016-05-17T15:40:04Z]
[2016-08-01 16:25:17,448][INFO ][node ] [Hawkshaw] initializing ...
[2016-08-01 16:25:17,541][ERROR][bootstrap ] Exception
java.lang.IllegalStateException: failed to load bundle [file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/jempbox-1.8.10.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/bcprov-jdk15on-1.52.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/commons-compress-1.10.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/commons-codec-1.10.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/fontbox-1.8.10.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/mapper-attachments-2.3.3.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/stax-api-1.0.1.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/poi-ooxml-schemas-3.13.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/poi-scratchpad-3.13.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/tagsoup-1.2.1.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/juniversalchardet-1.0.3.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/tika-core-1.11.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/bcpkix-jdk15on-1.52.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/pdfbox-1.8.10.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/tika-parsers-1.11.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/commons-logging-1.1.3.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/commons-io-2.4.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/poi-3.13.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/poi-ooxml-3.13.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/bcmail-jdk15on-1.52.jar, file:/home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/xmlbeans-2.6.0.jar] due to jar hell
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:421)
at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:129)
at org.elasticsearch.node.Node.<init>(Node.java:158)
at org.elasticsearch.node.Node.<init>(Node.java:140)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:178)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Caused by: java.lang.IllegalStateException: jar hell!
class: org.apache.commons.codec.binary.Base32
jar1: /home/blavenie/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
jar2: /home/blavenie/git/duniter4j/duniter4j-elasticsearch/src/test/es-home/plugins/mapper-attachments/commons-codec-1.10.jar
at org.elasticsearch.bootstrap.JarHell.checkClass(JarHell.java:282)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:186)
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:419)
... 7 more
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment