haibo-duan opened a new issue, #9753:
URL: https://github.com/apache/inlong/issues/9753

   ### What happened
   
   When I copy three files in the directory "conf/es/" to the directory "conf/" 
and then execute the "bin/sort_start.sh" command, the following error occurs:
   ```
   16:59:55.741 [lifecycleSupervisor-1-3] DEBUG 
org.apache.flume.lifecycle.LifecycleSupervisor - Status check complete
   16:59:55.938 [sortsdk_multi_topic_manager_sid_es_v3_2024-02-29 16:59:45] 
DEBUG org.apache.inlong.sdk.sort.util.PeriodicTask - 
InLongMultiTopicManagerImpl doWork
   16:59:55.940 [sortsdk_multi_topic_manager_sid_es_v3_2024-02-29 16:59:45] 
ERROR 
org.apache.inlong.sort.standalone.config.loader.ClassResourceQueryConsumeConfig 
- fail to load properties, file =sid_es_v3.conf, and e= {}
   com.fasterxml.jackson.core.JsonParseException: Unexpected character ('/' 
(code 47)): maybe a (non-standard) comment? (not recognized as one since 
Feature 'ALLOW_COMMENTS' not enabled for parser) at [Source: (String)"/*
    * Licensed to the Apache Software Foundation (ASF) under one or more
    * contributor license agreements. See the NOTICE file distributed with
    * this work for additional information regarding copyright ownership.
    * The ASF licenses this file to You under the Apache License, Version 2.0
    * (the "License"); you may not use this file except in compliance with
    * the License. You may obtain a copy of the License at
    *
    * http://www.apache.org/licenses/LICENSE-2.0
    *
    * Unless required by applica"[truncated 699 chars]; line: 1, column: 2]
           at 
com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2391)
           at 
com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:735)
           at 
com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:659)
           at 
com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipComment(ReaderBasedJsonParser.java:2524)
           at 
com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipWSOrEnd2(ReaderBasedJsonParser.java:2499)
           at 
com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipWSOrEnd(ReaderBasedJsonParser.java:2450)
           at 
com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:698)
           at 
com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4761)
           at 
com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4667)
           at 
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3629)
           at 
com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3597)
           at 
org.apache.inlong.sort.standalone.config.loader.ClassResourceQueryConsumeConfig.queryCurrentConsumeConfig(ClassResourceQueryConsumeConfig.java:61)
           at 
org.apache.inlong.sdk.sort.manager.InlongMultiTopicManager$UpdateMetaDataThread.doWork(InlongMultiTopicManager.java:281)
           at 
org.apache.inlong.sdk.sort.util.PeriodicTask.run(PeriodicTask.java:55)
           at java.lang.Thread.run(Thread.java:750)
   16:59:55.940 [sortsdk_multi_topic_manager_sid_es_v3_2024-02-29 16:59:45] 
WARN org.apache.inlong.sdk.sort.util.PeriodicTask - subscribedInfo is null
   ```
   
![image](https://github.com/apache/inlong/assets/7974845/42ad80ac-856f-4e0d-9205-4fbc30e7577a)
   
   
   ### What you expected to happen
   
     conf/sid_es_v3.conf file support adding Apache license. 
   
   ### How to reproduce
   
    decompress the archive file,copy three files in the directory "conf/es/" to 
the directory "conf/" and then execute the "bin/sort_start.sh" command.
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong Sort
   
   ### Are you willing to submit PR?
   
   - [ ] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@inlong.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to