[ 
https://issues.apache.org/jira/browse/FLINK-26858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-26858:
-----------------------------------
    Labels: pull-request-available stale-assigned  (was: pull-request-available)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help 
the community manage its development. I see this issue is assigned but has not 
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a 
comment updating the community on your progress.  If this issue is waiting on 
feedback, please consider this a reminder to the committer/reviewer. Flink is a 
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone 
else may work on it.


> When submitting a task, an error is reported and the description is 
> inaccurate, which will lead to misleading
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-26858
>                 URL: https://issues.apache.org/jira/browse/FLINK-26858
>             Project: Flink
>          Issue Type: Improvement
>          Components: Command Line Client
>    Affects Versions: 1.12.2, 1.12.7, 1.13.6, 1.14.3
>         Environment: idea
> flink 1.14
>            Reporter: 丛鹏
>            Assignee: 丛鹏
>            Priority: Major
>              Labels: pull-request-available, stale-assigned
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Hi, I'm using flink1.12.2 a problem is found when submitting the task of yarn 
> application,
> An example of the Flink official website submitting a task is
> ./bin/flink run-application -t yarn-application ./ 
> examples/streaming/TopSpeedWindowing. jar
> If some of them are misspelled, then yarn-application is written as 
> yarn-appliation
> One C is missing
> Will report an error:
>  
> java.lang.IllegalStateException: No ClusterClientFactory found. If you were 
> targeting a Yarn cluster, please make sure to export the HADOOP_CLASSPATH 
> environment variable or have hadoop in your classpath. For more information 
> refer to the "Deployment" section of the official Apache Flink documentation.
>  
> BUT
>  
> I saw that the code is the 213 line configuration set encapsulated by 
> CliFrontend.java. There is a problem with effectiveconfiguration, resulting 
> in DefaultClusterClientServiceLoader.Java: 83 judgment entry error
>  
> Finally, it leads to logical judgment  
> if (compatibleFactories.isEmpty()) is true
>  
> then 
>  "No ClusterClientFactory found. If you were targeting a Yarn cluster, "
>                             + "please make sure to export the 
> HADOOP_CLASSPATH environment variable or have hadoop in your "
>                             + "classpath. For more information refer to the 
> \"Deployment\" section of the official "
>                             + "Apache Flink documentation."
>  
> Look at all the situations that lead to the failure of the encapsulation of 
> the configuration class,Will prompt HADOOP_CLASSPATH environment 's reason
>  
> I think there is something wrong with the description of the error 
> information here, which will lead to misleading. Users mistakenly think it is 
> their own Hadoop_ There is a problem with the classpath environment. I hope 
> you can reply 
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to