在dataproc上安装oozie时出错

qv7cva1a  于 2021-06-02  发布在  Hadoop
关注(0)|答案(0)|浏览(248)

我第一次使用google(这里)提供的dataproc初始化脚本在一个新集群上安装oozie,并注意到我无法点击ui或在命令行上运行作业。
我继续删除了集群,然后在没有初始化脚本的情况下重新创建了一个新集群(记录中没有)。然后,我运行sudo apt get install oozie以获取以下错误:

sayle_matthews@cluster-1-m:~$ sudo apt-get install oozie
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  bigtop-tomcat oozie-client
The following NEW packages will be installed:
  bigtop-tomcat oozie oozie-client
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 306 MB of archives.
After this operation, 363 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://dataproc-bigtop-repo.storage.googleapis.com/v1.0/ dataproc/contrib bigtop-tomcat all 6.0.36-1 [5,376 k
B]
Get:2 http://dataproc-bigtop-repo.storage.googleapis.com/v1.0/ dataproc/contrib oozie-client all 4.2.0-1 [10.7 MB]
Get:3 http://dataproc-bigtop-repo.storage.googleapis.com/v1.0/ dataproc/contrib oozie all 4.2.0-1 [290 MB]        
Fetched 306 MB in 17s (17.6 MB/s)                                                                                 
Selecting previously unselected package bigtop-tomcat.
(Reading database ... 59410 files and directories currently installed.)
Preparing to unpack .../bigtop-tomcat_6.0.36-1_all.deb ...
Unpacking bigtop-tomcat (6.0.36-1) ...
Selecting previously unselected package oozie-client.
Preparing to unpack .../oozie-client_4.2.0-1_all.deb ...
Unpacking oozie-client (4.2.0-1) ...
Selecting previously unselected package oozie.
Preparing to unpack .../archives/oozie_4.2.0-1_all.deb ...
Unpacking oozie (4.2.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/oozie_4.2.0-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/oozie/lib/zookeeper-3.4.6.jar', which is also in package oozie-client 4.2.0-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u3) ...
Errors were encountered while processing:
 /var/cache/apt/archives/oozie_4.2.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人知道为什么会这样吗?或者可能的解决方法?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题