[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-16 Thread appleyuchi (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136728#comment-17136728
 ] 

appleyuchi commented on FLINK-18288:


 

some unproper part by [~vthinkxie]

1.node-sass/v4.11.0/linux-x64-72_binding.node` is not the static file, the file 
position and name is determined *{color:#de350b}by your npm{color}* and node 
version dynamically, which means *{color:#de350b}that it will always have an 
error if you have installed unmatched node or npm version yourself. That is why 
it works fine in every other' and ci environment except yours{color}*.(just 
imagine that you have installed many different versions of maven and want them 
to work together in the same command line, which is impossible.)

 

*version defined by package.json*

*sub-version defined by node_modules/.../install.js*

 

*please understand that every one want to obey the matched node version.*

*but new linux system core don't always have that 
compatibility({color:#de350b}such as core dumped{color} from npm with 
flink-needed node.js)*

 

2.the node and npm version are managed by maven-frontend-plugin in the 
flink-runtime-web/pom.xml in isolated 
folders(flink-runtime-web/web-dashboard/node and 
flink-runtime-web/web-dashboard/node_modules), if you want to manage it 
yourself(try to run npm ci or npm install yourself), *DON'T DO THIS* until you 
have full knowledge of npm and node package, it would mess up the isolated env 
of node and npm.

{color:#de350b}*it's not a must to have full knowlege to build this,just 3 
steps in above link.*{color}
 # plz have a try to remove all your `flink-runtime-web/web-dashboard/node` and 
`flink-runtime-web/web-dashboard/node_modules` caches in the 
flink-runtime-web/web-dashboard and have a try again.

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-16 Thread appleyuchi (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136723#comment-17136723
 ] 

appleyuchi commented on FLINK-18288:


首先对两位表示感谢,感谢你们在工作时间回答我的问题.

[~vthinkxie] [~fly_in_gis] 

感谢[~fly_in_gis] 那天在午夜两点回答的问题.

十分感谢!

 

Final Solution(独立编译flink-runtime-web):

[https://yuchi.blog.csdn.net/article/details/106796295]

 

 

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-15 Thread appleyuchi (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136356#comment-17136356
 ] 

appleyuchi commented on FLINK-18288:


Thanks for your replies.

some supplement:

*v4.11.0 is written in pacakge-lock.json by official develop,*

*so it's not affected by my npm/nodejs.*

 

while yes,I'm not sure *the sub-version linux-x64-72_binding* of node-sass.

#---

for point 2 and 3 in your replies.

*how can you try this in ubuntu19.10?*

*it will cause "core dump" if you don't change npm and node.js version set by 
official develop*

 

 

 

 

 

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-15 Thread Yadong Xie (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136307#comment-17136307
 ] 

Yadong Xie commented on FLINK-18288:


[~appleyuchi]

plz note that :
 # `node-sass/v4.11.0/linux-x64-72_binding.node` is not the static file, the 
file position and name is determined by your npm and node version dynamically, 
which means that it will always have an error if you have installed *unmatched* 
node or npm version yourselves.
 # the node and npm version is managed by maven-frontend-plugin in the 
flink-runtime-web/pom.xml, if you want to manage it yourself, make sure you 
have full knowledge of npm and node package.
 # plz have a try to remove all your node and node_modules caches in the 
flink-runtime-web/web-dashboard and have a try again.

 

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-15 Thread appleyuchi (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136281#comment-17136281
 ] 

appleyuchi commented on FLINK-18288:


*---some 
basics---*

*npm -> package.json/package-lock.json*

is just like

*mvn -> pom.xml*

 

*npm->node.js*

is just like

*mvn->java*

#--*npm dependency file 
relation*-

npm _ci_ --cache-max=0 --_no_-_save_ (package-lock.json)

npm run build(package.json)

*#isolated node.js 
environment---*

*npm build an* *isolated node.js environment* *in Flink*

node.js version is v10.9.0

 

*maybe you will say:why don't you compile it separately?*

Because My Ubuntu Desktop is 19.10,

nvm with node.js(v10.9.0)is incompatible with the Anular needed.

#*-the structure of Flink 
Building--*

There are two kinds of buid in the building of Flink

They mix *npm build* into *mvn build.*

 

 

 

 

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-15 Thread Yang Wang (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136274#comment-17136274
 ] 

Yang Wang commented on FLINK-18288:
---

I am not familiar with npm. cc [~vthinkxie], could you please have a look?

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-15 Thread appleyuchi (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135831#comment-17135831
 ] 

appleyuchi commented on FLINK-18288:


runtime-web里面的node-sass需要个v4.11的依赖包,

如果你输入npm ci就会发现是下载不了的.

node-sass/v4.11.0/linux-x64-72_binding.node这个东西已经被github作者删除了,

你显然修改了一些东西才进行的编译.

就这样吧.

 

 

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-15 Thread appleyuchi (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135571#comment-17135571
 ] 

appleyuchi commented on FLINK-18288:


.

 

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-15 Thread Yang Wang (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135547#comment-17135547
 ] 

Yang Wang commented on FLINK-18288:
---

It seems that the mvn failed with core dump. Are you compiling Flink with maven 
3.2.5? If you want to dig futhure, you need to analysis the core dump file.

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-14 Thread appleyuchi (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135416#comment-17135416
 ] 

appleyuchi commented on FLINK-18288:


[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ 
flink-hcatalog_2.11 ---
[INFO] Installing 
/home/appleyuchi/桌面/Flink超线程测试/flink/flink-connectors/flink-hcatalog/target/flink-hcatalog_2.11-1.11.0.jar
 to 
/home/appleyuchi/bigdata/apache-maven-3.5.4/jar_warehouse/org/apache/flink/flink-hcatalog_2.11/1.11.0/flink-hcatalog_2.11-1.11.0.jar
[INFO] Installing 
/home/appleyuchi/桌面/Flink超线程测试/flink/flink-connectors/flink-hcatalog/target/dependency-reduced-pom.xml
 to 
/home/appleyuchi/bigdata/apache-maven-3.5.4/jar_warehouse/org/apache/flink/flink-hcatalog_2.11/1.11.0/flink-hcatalog_2.11-1.11.0.pom
[INFO] Installing 
/home/appleyuchi/桌面/Flink超线程测试/flink/flink-connectors/flink-hcatalog/target/flink-hcatalog_2.11-1.11.0-tests.jar
 to 
/home/appleyuchi/bigdata/apache-maven-3.5.4/jar_warehouse/org/apache/flink/flink-hcatalog_2.11/1.11.0/flink-hcatalog_2.11-1.11.0-tests.jar
*{color:#de350b}[ERROR] Aborted (core dumped){color}*
[INFO] 
[INFO] > node-sass@4.11.0 install 
/home/appleyuchi/桌面/Flink超线程测试/flink/flink-runtime-web/web-dashboard/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO] 
[INFO] Downloading binary from 
https://github.com/sass/node-sass/releases/download/v4.11.0/linux-x64-64_binding.node

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-18288) WEB UI failure in Flink1.12

2020-06-14 Thread Yang Wang (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-18288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135399#comment-17135399
 ] 

Yang Wang commented on FLINK-18288:
---

You should not skip the npm build. Please remove the {{-Dskip.npm}}, and have a 
try again.

> WEB UI failure in Flink1.12
> ---
>
> Key: FLINK-18288
> URL: https://issues.apache.org/jira/browse/FLINK-18288
> Project: Flink
>  Issue Type: Bug
>Affects Versions: 1.12.0
>Reporter: appleyuchi
>Priority: Major
>
>  
>  
> ①build command:
> *mvn clean install -T 2C  -DskipTests -Dskip.npm -Dmaven.compile.fork=true*
>  
> ②use flink-conf.yaml  from 1.1o.1  in 1.12
> masters:
> Desktop:8082
>  
> slaves:
> Desktop
> Laptop
> ③$FLINK_HOME/bin/start-cluster.sh
>  
>  
> ④open browser in:
> Desktop:8082
> {"errors":["Unable to load requested file /index.html."]}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)