You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by bhaskar <bh...@gmail.com> on 2018/06/12 22:42:17 UTC

Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

I am trying to Install Ignite using RPG package, downloaded
apache-ignite-2.4.0-1.noarch.rpm from
https://www.apache.org/dist/ignite/rpm.
 
Getting Java dependency error but JDK is already instaled, what is missing
here?

# rpm -Uvh apache-ignite-2.4.0-1.noarch.rpm
warning: apache-ignite-2.4.0-1.noarch.rpm: Header V4 RSA/SHA1 Signature, key
ID f67fe6f2: NOKEY
error: Failed dependencies:
        java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch
# echo $JAVA_HOME
/etc/jdk1.8.0_121

Thanks
Bhaskar



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by Petr Ivanov <mr...@gmail.com>.
Bhaskar,


That’s right. ${IGNITE_HOME} is right at /usr/share/apache-ignite


> On 15 Jun 2018, at 20:39, bhaskar <bh...@gmail.com> wrote:
> 
> Thanks
> 
> what will be the IGNITE_HOME in this case? "/usr/share/apache-ignite/"?
> I am integrating sparj with Ignite, so need to provide $IGNITE_HOME/libs in
> spark-env.sh.
> 
> Thanks
> Bhaskar
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by bhaskar <bh...@gmail.com>.
Thanks

what will be the IGNITE_HOME in this case? "/usr/share/apache-ignite/"?
I am integrating sparj with Ignite, so need to provide $IGNITE_HOME/libs in
spark-env.sh.

Thanks
Bhaskar



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by Peter Ivanov <mr...@gmail.com>.
Bhaskar,


ignitevisorcmd.sh currently resides in /usr/share/docs/apache-ignite/bin
directory (as an example). Not sure how to correctly run it - I guess it
should be either copied to /usr/share/apache-ignite/bin or run with defined
IGNITE_HOME env variable.


On Fri, 15 Jun 2018 at 01:24, bhaskar <bh...@gmail.com>
wrote:

> Thanks Petr,
> I could start Ignite in service mode not able to find ignitevisorcmd.sh to
> see topology. What is the location of ignitevisorcmd.sh in Ignite Service
> mode?
> Thanks
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by bhaskar <bh...@gmail.com>.
Thanks Petr,
I could start Ignite in service mode not able to find ignitevisorcmd.sh to
see topology. What is the location of ignitevisorcmd.sh in Ignite Service
mode?
Thanks



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by Petr Ivanov <mr...@gmail.com>.
Correction, Running Ignite as a Stand-Alone Process <https://apacheignite.readme.io/docs/getting-started#section-run-ignite-as-a-stand-alone-process> documentation section.



> On 13 Jun 2018, at 19:35, Petr Ivanov <mr...@gmail.com> wrote:
> 
> Bhaskar,
> 
> 
> To be honest, RPM packages are designed for at least RHEL / CentOS 7 and higher. I’ve never had a chance to test them on 6.9 or earlier.
> Thus, package design also requires systemd service manager (it should be installed by dependency as well), and should be started as follows `systemctl start apache-ignite@default-config.xml`.
> Note:
> systemctl — exactly this command should be used, not service;
> @default-config.xml — after [at] sign you should specify only the name of configuration file in /etc/apache-ignite, not full path to configuration file.
> 
> Also, if problems with systemd will persist or in case of other corresponding difficulties, see Running Ignite as a Service <https://apacheignite.readme.io/docs/getting-started#section-run-ignite-as-a-service> documentation section for alternative ways of running Apache Ignite installed from packages.
> 
> 
> Hope it helps!
> 
> 
> 
>> On 13 Jun 2018, at 19:02, bhaskar <bhaskar.thungathurti@gmail.com <ma...@gmail.com>> wrote:
>> 
>> Thanks,
>> installed jdk rpm and apache-ignite installation went through, but when I
>> start getting start: unrecognized service error, what is missing here?.I am
>> m using Red Hat Enterprise Linux Server release 6.9 (Santiago)
>> 
>> # service start apache-ignite@/etc/apache-ignite/default-config.xml
>> start: unrecognized service
>> # service start apache-ignite@default-config.xml <ma...@default-config.xml>
>> start: unrecognized service
>> #
>> 
>> My use case:
>> want to build apache ignite and spark cluster for sql and spark ML. Spark
>> streaming  loads incremental data into Ignite Cluster. I am able to do this
>> with zero deployment . But now trying to make Ignite Standalone Cluster run
>> in service mode like spark standalone cluster.
>> 
>> Thanks
>> Bhaskar 
>> 
>> 
>> 
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/ <http://apache-ignite-users.70518.x6.nabble.com/>
> 


Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by Petr Ivanov <mr...@gmail.com>.
Bhaskar,


To be honest, RPM packages are designed for at least RHEL / CentOS 7 and higher. I’ve never had a chance to test them on 6.9 or earlier.
Thus, package design also requires systemd service manager (it should be installed by dependency as well), and should be started as follows `systemctl start apache-ignite@default-config.xml`.
Note:
systemctl — exactly this command should be used, not service;
@default-config.xml — after [at] sign you should specify only the name of configuration file in /etc/apache-ignite, not full path to configuration file.

Also, if problems with systemd will persist or in case of other corresponding difficulties, see Running Ignite as a Service <https://apacheignite.readme.io/docs/getting-started#section-run-ignite-as-a-service> documentation section for alternative ways of running Apache Ignite installed from packages.


Hope it helps!



> On 13 Jun 2018, at 19:02, bhaskar <bh...@gmail.com> wrote:
> 
> Thanks,
> installed jdk rpm and apache-ignite installation went through, but when I
> start getting start: unrecognized service error, what is missing here?.I am
> m using Red Hat Enterprise Linux Server release 6.9 (Santiago)
> 
> # service start apache-ignite@/etc/apache-ignite/default-config.xml
> start: unrecognized service
> # service start apache-ignite@default-config.xml
> start: unrecognized service
> #
> 
> My use case:
> want to build apache ignite and spark cluster for sql and spark ML. Spark
> streaming  loads incremental data into Ignite Cluster. I am able to do this
> with zero deployment . But now trying to make Ignite Standalone Cluster run
> in service mode like spark standalone cluster.
> 
> Thanks
> Bhaskar 
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by bhaskar <bh...@gmail.com>.
Thanks,
installed jdk rpm and apache-ignite installation went through, but when I
start getting start: unrecognized service error, what is missing here?.I am
m using Red Hat Enterprise Linux Server release 6.9 (Santiago)

# service start apache-ignite@/etc/apache-ignite/default-config.xml
start: unrecognized service
# service start apache-ignite@default-config.xml
start: unrecognized service
#

My use case:
want to build apache ignite and spark cluster for sql and spark ML. Spark
streaming  loads incremental data into Ignite Cluster. I am able to do this
with zero deployment . But now trying to make Ignite Standalone Cluster run
in service mode like spark standalone cluster.

Thanks
Bhaskar 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by Petr Ivanov <mr...@gmail.com>.
The main requirement is to install package through yum or rpm that provides java-1.8, for example openjdk, or Oracle Java or any other package.
Manual installation will not work due to apache-ignite package’s unawareness of this.

Yet, as a last resort, you can manually install apache-ignite with 'rpm -ivh apache-ignite --nodeps’ command to overcome dependency requirements.
Use it at your own risk, though.



> On 13 Jun 2018, at 16:31, bhaskar <bh...@gmail.com> wrote:
> 
> I am m using Red Hat Enterprise Linux Server release 6.9 (Santiago).
> but the JDK 1.8 is already installed and set JAVA_HOME and PATH. do we need
> to instal *.rpm based JDK?
> Thanks
> Bhaskar
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by bhaskar <bh...@gmail.com>.
I am m using Red Hat Enterprise Linux Server release 6.9 (Santiago).
but the JDK 1.8 is already installed and set JAVA_HOME and PATH. do we need
to instal *.rpm based JDK?
Thanks
Bhaskar



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite RPM Package Installation error: Failed dependencies: java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch

Posted by Peter Ivanov <mr...@gmail.com>.
Which Linux do you have?

Currently packages are designed to be compatible with CentOS and RHEL.
To satisfy dependencies, any rpm package that provides “java-1.8.0” should
be installed as well (java-1.8.0-openjdk for instance).


On Wed, 13 Jun 2018 at 01:42, bhaskar <bh...@gmail.com>
wrote:

> I am trying to Install Ignite using RPG package, downloaded
> apache-ignite-2.4.0-1.noarch.rpm from
> https://www.apache.org/dist/ignite/rpm.
>
> Getting Java dependency error but JDK is already instaled, what is missing
> here?
>
> # rpm -Uvh apache-ignite-2.4.0-1.noarch.rpm
> warning: apache-ignite-2.4.0-1.noarch.rpm: Header V4 RSA/SHA1 Signature,
> key
> ID f67fe6f2: NOKEY
> error: Failed dependencies:
>         java-1.8.0 is needed by apache-ignite-2.4.0-1.noarch
> # echo $JAVA_HOME
> /etc/jdk1.8.0_121
>
> Thanks
> Bhaskar
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>