English 中文(简体)
安装 单体包装
原标题:install Pig package

I have to install Hadoop before installing Pig package. Hadoop requires a working Java 1.6.x installation.So I tried to run the following command to install sun-java6-jdk:

$ sudo apt-get install sun-java6-jdk

but I have problems and I obtain this error when trying to install any other package

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate trans.unauthenticated = self._simulate_helper(trans) File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper return depends, self._cache.required_download, File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download pm.get_archives(fetcher, self._list, self._records) SystemError: E:I wasn t able to locate a file for the sun-java6-bin package. This might mean you need to manually fix this package.

如何解决这一问题?

问题回答

可以说,你没有(确切地说)安装了Hadoop,这是管理猪所必需的。

如果你能够进入一个试验室,那么你可以安装在一个单线上。

安装Hadoop(单一或集群)指南:

rel=“nofollow” http://hadoop.apache.org/common/docs/stable/single_node_setup.html

rel=“nofollow” http://hadoop.apache.org/common/docs/stable/cluster_setup.html





相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签