You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "bindyou (via GitHub)" <gi...@apache.org> on 2023/12/11 06:25:06 UTC

[I] seatunnel-web Access prompt “user does not exist”. [seatunnel]

bindyou opened a new issue, #5989:
URL: https://github.com/apache/seatunnel/issues/5989

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   docker uses centos:centos7.9.2009
   Copy the files apache-seatunnel-web-1.0.0.tar.gz and apache-seatunnel-2.3.3.tar.gz into the docker container
   init_sql.sh are no errors;
   
   
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   seatunnel.yaml:
   seatunnel:
     engine:
       history-job-expire-minutes: 1440
       backup-count: 1
       queue-type: blockingqueue
       print-execution-info-interval: 60
       print-job-metrics-info-interval: 60
       slot-service:
         dynamic-slot: true
       checkpoint:
         interval: 10000
         timeout: 60000
         storage:
           type: hdfs
           max-retained: 3
           plugin-config:
             namespace: /tmp/seatunnel/checkpoint_snapshot
             storage.type: hdfs
             fs.defaultFS: file:///tmp/ # Ensure that the directory has written permission
   
   v2.batch.config.template:
   env {
     # You can set SeaTunnel environment configuration here
     execution.parallelism = 2
     job.mode = "BATCH"
     checkpoint.interval = 10000
     #execution.checkpoint.interval = 10000
     #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint"
   }
   
   source {
     # This is a example source plugin **only for test and demonstrate the feature source plugin**
     FakeSource {
       parallelism = 2
       result_table_name = "fake"
       row.num = 16
       schema = {
         fields {
           name = "string"
           age = "int"
         }
       }
     }
   
     # If you would like to get more information about how to configure SeaTunnel and see full list of source plugins,
     # please go to https://seatunnel.apache.org/docs/category/source-v2
   }
   
   sink {
     Console {
     }
   
     # If you would like to get more information about how to configure SeaTunnel and see full list of sink plugins,
     # please go to https://seatunnel.apache.org/docs/category/sink-v2
   }
   ```
   
   
   ### Running Command
   
   ```shell
   apache-seatunnel-2.3.3/bin/seatunnel-cluster.sh -DJvmOption=-Xms2G -Xmx2G --config seatunnel-2.3.3/config/v2.batch.config.template
   ```
   
   
   ### Error Exception
   
   ```log
   2023-12-11 06:19:08.085 seatunnel ef1a79a6490b INFO [main] [ClientLoggingService$DefaultLogger.log():104] - hz.client_1 [seatunnel] [5.1] Trying to connect to cluster: seatunnel
   2023-12-11 06:19:08.088 seatunnel ef1a79a6490b INFO [main] [ClientLoggingService$DefaultLogger.log():104] - hz.client_1 [seatunnel] [5.1] Trying to connect to [localhost]:5801
   2023-12-11 06:19:08.168 seatunnel ef1a79a6490b INFO [main] [ClientLoggingService$DefaultLogger.log():104] - hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is CLIENT_CONNECTED
   2023-12-11 06:19:08.169 seatunnel ef1a79a6490b INFO [main] [ClientLoggingService$DefaultLogger.log():104] - hz.client_1 [seatunnel] [5.1] Authenticated with server [localhost]:5801:c680a5ad-6c86-4ced-9cdd-805bf6b411bd, server version: 5.1, local address: /127.0.0.1:37630
   2023-12-11 06:19:08.170 seatunnel ef1a79a6490b INFO [main] [ClientLoggingService$DefaultLogger.log():104] - hz.client_1 [seatunnel] [5.1] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments.
   2023-12-11 06:19:08.193 seatunnel ef1a79a6490b INFO [hz.client_1.event-4] [ClientLoggingService$DefaultLogger.log():104] - hz.client_1 [seatunnel] [5.1]
   
   Members [1] {
           Member [localhost]:5801 - c680a5ad-6c86-4ced-9cdd-805bf6b411bd
   }
   
   2023-12-11 06:19:08.239 seatunnel ef1a79a6490b INFO [main] [AbstractLogger.info():69] - Client statistics is enabled with period 5 seconds.
   2023-12-11 06:19:08.412 seatunnel ef1a79a6490b INFO [main] [ContextHandler$Context.log():2368] - Initializing Spring DispatcherServlet 'dispatcherServlet'
   2023-12-11 06:19:08.413 seatunnel ef1a79a6490b INFO [main] [FrameworkServlet.initServletBean():525] - Initializing Servlet 'dispatcherServlet'
   2023-12-11 06:19:08.414 seatunnel ef1a79a6490b INFO [main] [FrameworkServlet.initServletBean():547] - Completed initialization in 1 ms
   2023-12-11 06:19:08.425 seatunnel ef1a79a6490b INFO [main] [AbstractConnector.doStart():333] - Started ServerConnector@2b1cd7bc{HTTP/1.1, (http/1.1)}{0.0.0.0:8801}
   2023-12-11 06:19:08.427 seatunnel ef1a79a6490b INFO [main] [JettyWebServer.start():172] - Jetty started on port(s) 8801 (http/1.1) with context path '/'
   2023-12-11 06:19:08.427 seatunnel ef1a79a6490b INFO [main] [DocumentationPluginsBootstrapper.start():120] - Context refreshed
   2023-12-11 06:19:08.444 seatunnel ef1a79a6490b INFO [main] [DocumentationPluginsBootstrapper.start():123] - Found 1 custom documentation plugin(s)
   2023-12-11 06:19:08.456 seatunnel ef1a79a6490b INFO [main] [ApiListingReferenceScanner.scan():41] - Scanning for api listing references
   2023-12-11 06:19:08.615 seatunnel ef1a79a6490b INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listAllTransformUsingGET_1
   2023-12-11 06:19:08.624 seatunnel ef1a79a6490b INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listSinkUsingGET_1
   2023-12-11 06:19:08.631 seatunnel ef1a79a6490b INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: listSourceUsingGET_1
   2023-12-11 06:19:08.635 seatunnel ef1a79a6490b INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: syncUsingGET_1
   2023-12-11 06:19:08.704 seatunnel ef1a79a6490b INFO [main] [CachingOperationNameGenerator.startingWith():40] - Generating unique operation named: getJobDefinitionUsingGET_1
   2023-12-11 06:19:09.083 seatunnel ef1a79a6490b INFO [main] [StartupInfoLogger.logStarted():61] - Started SeatunnelApplication in 6.034 seconds (JVM running for 6.352)
   2023-12-11 06:20:56.265 seatunnel ef1a79a6490b INFO [qtp1939282277-55] [AuthenticationInterceptor.preHandle():70] - user does not exist
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   jdk-8u361-linux-x64.tar
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscribe@seatunnel.apache.org.apache.org

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


Re: [I] [BUG]seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "Hu-WF (via GitHub)" <gi...@apache.org>.
Hu-WF commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1863765291

   see https://blog.csdn.net/qq_37293230/article/details/134122598


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "Carl-Zhou-CN (via GitHub)" <gi...@apache.org>.
Carl-Zhou-CN commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1853392660

   ![image](https://github.com/apache/seatunnel/assets/67902676/82fe4cd3-8ceb-4707-b4cf-d6853621304e)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] [BUG]seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "JackChenxxx (via GitHub)" <gi...@apache.org>.
JackChenxxx commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1857404763

   You can try back to install dir then run ‘sh ./bin/xxxx start’


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "bindyou (via GitHub)" <gi...@apache.org>.
bindyou commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1853397460

   sorry,I am deleted This means.


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "bindyou (via GitHub)" <gi...@apache.org>.
bindyou commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1853391200

   @Carl-Zhou-CN 啥意思??


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] [BUG]seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "liyuchen0514 (via GitHub)" <gi...@apache.org>.
liyuchen0514 commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1925636520

   即使在大家所说的目录下运行脚本,仍然无法正常使用,访问/ui 或者/ui/index.html 依然是here was an unexpected error (type=Not Found, status=404).。后台日志也依旧是user does not exist,真不清楚是哪里的问题,能导致这样的两极分化的结果。


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "bindyou (via GitHub)" <gi...@apache.org>.
bindyou commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1849401994

   hazelcast.yaml and hazelcast-client.yaml used the default configuration.
   ![Uploading 1.png…]()
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] [BUG]seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "huifeidexiaoyuya (via GitHub)" <gi...@apache.org>.
huifeidexiaoyuya commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-1888779992

   > 参见https://blog.csdn.net/qq_37293230/article/details/134122598
   
   必须要切换到bin目录的上一层,且必须是  ./bin/seatunnel-backend-daemon.sh
   ![image](https://github.com/apache/seatunnel/assets/126130735/7b95a27c-5b4e-4bce-ab70-cd57e8588cbd)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [I] [BUG]seatunnel-web Access prompt “user does not exist”. [seatunnel]

Posted by "beryllw (via GitHub)" <gi...@apache.org>.
beryllw commented on issue #5989:
URL: https://github.com/apache/seatunnel/issues/5989#issuecomment-2102068610

   > 即使在大家所说的目录下运行脚本,仍然无法正常使用,访问/ui 或者/ui/index.html 依然是here was an unexpected error (type=Not Found, status=404).。后台日志也依旧是user does not exist,真不清楚是哪里的问题,能导致这样的两极分化的结果。
   
   必须使用命令 `./bin/seatunnel-backend-daemon.sh`


-- 
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: commits-unsubscribe@seatunnel.apache.org

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