Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Sort] module inlong-sort-standalone's conf/sid_es_v3.conf file does not support adding Apache license #9753

Closed
1 of 2 tasks
haibo-duan opened this issue Feb 29, 2024 · 0 comments · Fixed by #9841
Closed
1 of 2 tasks
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@haibo-duan
Copy link
Contributor

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
2 participants