Re: what's in cursorMark

2018-10-01 Thread Li, Yi
Hi,

Did you just do base84 decoding?

Thanks,
Yi

On 10/1/18, 9:41 AM, "Vincenzo D'Amore"  wrote:

Hi Yi,

have you tried to decode the string?

AoE/E2Zhdm9yaXRlUGxhY2UvZjg1MzMzYzEtYzQ0NC00Y2ZiLWFmZDctMzcyODFhMDdiMGY3

seems to be only:

? favoritePlace/f85333c1-c444-4cfb-afd7-37281a07b0f7



On Mon, Oct 1, 2018 at 3:37 PM Li, Yi  wrote:

> Hi,
>
> cursorMark appears as something like
> AoE/E2Zhdm9yaXRlUGxhY2UvZjg1MzMzYzEtYzQ0NC00Y2ZiLWFmZDctMzcyODFhMDdiMGY3
>
> and the document says it is “Base64 encoded serialized representation of
> the sort values encapsulated by this object”
>
> I like to know if I can decode and what content I will see in there.
>
> For example, If there is an object as a json:
> {
> “id”:”123”,
> “name”:”objectname”,
> “secret”:”my secret”
> }
> if I search id:123, and only that object returned with a cursorMark, will
> I be able to decode the cursorMark and get that secret?
>
> Thanks,
> Yi
>


-- 
Vincenzo D'Amore




what's in cursorMark

2018-10-01 Thread Li, Yi
Hi,

cursorMark appears as something like 
AoE/E2Zhdm9yaXRlUGxhY2UvZjg1MzMzYzEtYzQ0NC00Y2ZiLWFmZDctMzcyODFhMDdiMGY3

and the document says it is “Base64 encoded serialized representation of the 
sort values encapsulated by this object”

I like to know if I can decode and what content I will see in there.

For example, If there is an object as a json:
{
“id”:”123”,
“name”:”objectname”,
“secret”:”my secret”
}
if I search id:123, and only that object returned with a cursorMark, will I be 
able to decode the cursorMark and get that secret?

Thanks,
Yi


Running Solr 5.3.1 with JDK10

2018-06-19 Thread Li, Yi
Hi,

Currently we are running Solr 5.3.1 with JDK8 and we are trying to run Solr 
5.3.1 with JDK10. Initially we got a few errors complaining some JVM options 
are removed since JDK9. We removed those options in solr.in.sh:
UseConcMarkSweepGC
UseParNewGC
PrintHeapAtGC
PrintGCDateStamps
PrintGCTimeStamps
PrintTenuringDistribution
PrintGCApplicationStoppedTime

And the options left in solr.in.sh:

  1.  Enable verbose GC logging
GC_LOG_OPTS="-verbose:gc -XX:+PrintGCDetails"

  1.  These GC settings have shown to work well for a number of common Solr 
workloads
GC_TUNE="-XX:NewRatio=3 \
-XX:SurvivorRatio=4 \
-XX:TargetSurvivorRatio=90 \
-XX:MaxTenuringThreshold=8 \
-XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 \
-XX:+CMSScavengeBeforeRemark \
-XX:PretenureSizeThreshold=64m \
-XX:+UseCMSInitiatingOccupancyOnly \
-XX:CMSInitiatingOccupancyFraction=50 \
-XX:CMSMaxAbortablePrecleanTime=6000 \
-XX:+CMSParallelRemarkEnabled \
-XX:+ParallelRefProcEnabled"

After that SOLR runs but it got an error on SystemInfoHandler Error getting JMX 
properties.
[root@centos6 logs]# service solr status
Found 1 Solr nodes:
Solr process 4630 running on port 8983
ERROR: Failed to get system information from http://localhost:8983/solr due to: 
java.lang.NullPointerException

Can someone share experience using Solr 5.3.x with JDK9 or above?

Thanks,
Yi

P.S.
Console output:
[0.001s][warning][gc] -Xloggc is deprecated. Will use 
-Xlog:gc:/solr/logs/solr_gc.log instead.
[0.001s][warning][gc] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* 
instead.
[0.003s][info ][gc] Using Serial
WARNING: System properties and/or JVM args set. Consider using --dry-run or 
--exec
0 INFO (main) [ ] o.e.j.u.log Logging initialized @532ms
205 INFO (main) [ ] o.e.j.s.Server jetty-9.2.11.v20150529
218 WARN (main) [ ] o.e.j.s.h.RequestLogHandler !RequestLog
220 INFO (main) [ ] o.e.j.d.p.ScanningAppProvider Deployment monitor 
file:/home/solr/solr-5.3.1/server/contexts/ at interval 0
559 INFO (main) [ ] o.e.j.w.StandardDescriptorProcessor NO JSP Support for 
/solr, did not find org.apache.jasper.servlet.JspServlet
569 WARN (main) [ ] o.e.j.s.SecurityHandler 
ServletContext@o.e.j.w.WebAppContext@1a75e76a
{/solr,file:/home/solr/solr-5.3.1/server/solr-webapp/webapp/,STARTING} 
{/home/solr/solr-5.3.1/server/solr-webapp/webapp} has uncovered http methods 
for path: /
577 INFO (main) [ ] o.a.s.s.SolrDispatchFilter SolrDispatchFilter.init(): 
WebAppClassLoader=1904783235@7188af83
625 INFO (main) [ ] o.a.s.c.SolrResourceLoader JNDI not configured for solr 
(NoInitialContextEx)
626 INFO (main) [ ] o.a.s.c.SolrResourceLoader using system property 
solr.solr.home: /solr/data
627 INFO (main) [ ] o.a.s.c.SolrResourceLoader new SolrResourceLoader for 
directory: '/solr/data/'
750 INFO (main) [ ] o.a.s.c.SolrXmlConfig Loading container configuration from 
/solr/data/solr.xml
817 INFO (main) [ ] o.a.s.c.CoresLocator Config-defined core root directory: 
/solr/data
[1.402s][info ][gc] GC(0) Pause Full (Metadata GC Threshold) 85M->7M(490M) 
37.281ms
875 INFO (main) [ ] o.a.s.c.CoreContainer New CoreContainer 1193398802
875 INFO (main) [ ] o.a.s.c.CoreContainer Loading cores into CoreContainer 
[instanceDir=/solr/data/]
875 INFO (main) [ ] o.a.s.c.CoreContainer loading shared library: /solr/data/lib
875 WARN (main) [ ] o.a.s.c.SolrResourceLoader Can't find (or read) directory 
to add to classloader: lib (resolved as: /solr/data/lib).
889 INFO (main) [ ] o.a.s.h.c.HttpShardHandlerFactory created with 
socketTimeout : 60,connTimeout : 6,maxConnectionsPerHost : 
20,maxConnections : 1,corePoolSize : 0,maximumPoolSize : 
2147483647,maxThreadIdleTime : 5,sizeOfQueue : -1,fairnessPolicy : 
false,useRetries : false,
1036 INFO (main) [ ] o.a.s.u.UpdateShardHandler Creating UpdateShardHandler 
HTTP client with params: socketTimeout=60=6=true
1038 INFO (main) [ ] o.a.s.l.LogWatcher SLF4J impl is 
org.slf4j.impl.Log4jLoggerFactory
1039 INFO (main) [ ] o.a.s.l.LogWatcher Registering Log Listener [Log4j 
(org.slf4j.impl.Log4jLoggerFactory)]
1040 INFO (main) [ ] o.a.s.c.CoreContainer Security conf doesn't exist. 
Skipping setup for authorization module.
1041 INFO (main) [ ] o.a.s.c.CoreContainer No authentication plugin used.
1179 INFO (main) [ ] o.a.s.c.CoresLocator Looking for core definitions 
underneath /solr/data
1180 INFO (main) [ ] o.a.s.c.CoresLocator Found 0 core definitions
1185 INFO (main) [ ] o.a.s.s.SolrDispatchFilter 
user.dir=/home/solr/solr-5.3.1/server
1186 INFO (main) [ ] o.a.s.s.SolrDispatchFilter SolrDispatchFilter.init() done
1216 INFO (main) [ ] o.e.j.s.h.ContextHandler Started 
o.e.j.w.WebAppContext@1a75e76a{/solr,file:/home/solr/solr-5.3.1/server/solr-webapp/webapp/,AVAILABLE}{/home/solr/solr-5.3.1/server/solr-webapp/webapp}
1224 INFO (main) [ ] o.e.j.s.ServerConnector Started ServerConnector@2102a4d5
{HTTP/1.1} {0.0.0.0:8983}
1228 INFO (main) [ ] o.e.j.s.Server Started @1762ms
14426 WARN (qtp1045997582-15) [ ] o.a.s.h.a.SystemInfoHandler Error