Checking Versions
1. How to check Ubuntu version
ram@ram-pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
or
ram@ram-pc:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
2. How to check Hadoop version
ram@ram-pc:~$ hadoop version
Hadoop 2.7.0
Subversion https://git-wip-us.apache.org/repos/asf/hadoop.git -r d4c8d4d4d203c934e8074b31289a28724c0842cf
Compiled by jenkins on 2015-04-10T18:40Z
Compiled with protoc 2.5.0
From source with checksum a9e90912c37a35c3195d23951fd18f
This command was run using /usr/local/hadoop/share/hadoop/common/hadoop-common-2.7.0.jar
3. How to check JAVA version
ram@ram-pc:~$ java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
4. How to check HBase version
ram@ram-pc:~$ hbase version
2015-05-26 22:14:13,937 INFO [main] util.VersionInfo: HBase 1.0.1.1
2015-05-26 22:14:13,938 INFO [main] util.VersionInfo: Source code repository git://aspire/home/apurtell/tmp/hbase-build-2 revision=e1dbf4df30d214fca14908df71d038081577ea46
2015-05-26 22:14:13,938 INFO [main] util.VersionInfo: Compiled by apurtell on Sun May 17 12:34:26 PDT 2015
2015-05-26 22:14:13,938 INFO [main] util.VersionInfo: From source with checksum 111670655c3a2fe747723232c402f0e2
5. How to check Cassandra version
ram@ram-pc:~/cassandra/bin$ cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 2.1.5 | CQL spec 3.2.0 | Native protocol v3]
Use HELP for help.
cqlsh>
6. How to check mongodb version
ram@ram-pc:~$ mongo
MongoDB shell version: 3.0.3
connecting to: test
Server has startup warnings:
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten]
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten]
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten]
>
1. How to check Ubuntu version
ram@ram-pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
or
ram@ram-pc:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
2. How to check Hadoop version
ram@ram-pc:~$ hadoop version
Hadoop 2.7.0
Subversion https://git-wip-us.apache.org/repos/asf/hadoop.git -r d4c8d4d4d203c934e8074b31289a28724c0842cf
Compiled by jenkins on 2015-04-10T18:40Z
Compiled with protoc 2.5.0
From source with checksum a9e90912c37a35c3195d23951fd18f
This command was run using /usr/local/hadoop/share/hadoop/common/hadoop-common-2.7.0.jar
3. How to check JAVA version
ram@ram-pc:~$ java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
4. How to check HBase version
ram@ram-pc:~$ hbase version
2015-05-26 22:14:13,937 INFO [main] util.VersionInfo: HBase 1.0.1.1
2015-05-26 22:14:13,938 INFO [main] util.VersionInfo: Source code repository git://aspire/home/apurtell/tmp/hbase-build-2 revision=e1dbf4df30d214fca14908df71d038081577ea46
2015-05-26 22:14:13,938 INFO [main] util.VersionInfo: Compiled by apurtell on Sun May 17 12:34:26 PDT 2015
2015-05-26 22:14:13,938 INFO [main] util.VersionInfo: From source with checksum 111670655c3a2fe747723232c402f0e2
5. How to check Cassandra version
ram@ram-pc:~/cassandra/bin$ cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 2.1.5 | CQL spec 3.2.0 | Native protocol v3]
Use HELP for help.
cqlsh>
6. How to check mongodb version
ram@ram-pc:~$ mongo
MongoDB shell version: 3.0.3
connecting to: test
Server has startup warnings:
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten]
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten]
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-06-02T08:32:14.683+0530 I CONTROL [initandlisten]
>
Thank you for your guide to with upgrade information about Hadoop
ReplyDeleteHadoop Admin Online Course Hyderabad
This comment has been removed by the author.
ReplyDelete