Open and listening ports :
netstat -anltp | grep "LISTEN"
Established ports :netstat -anltp | grep "ESTABLISHED"
Open and listening ports :
netstat -anltp | grep "LISTEN"
Established ports :netstat -anltp | grep "ESTABLISHED"
Solbase is highly scalable search engine built on top of Lucene, Solr, and HBase. In a nut shell, Solbase replaced Lucene's index file layer that was stored in local file system under NFS to big database implementation in HBase. Leveraging HBase's high performance scan, inverted index is efficiently stored in HBase for fast data retrieval. http://www.slideshare.net/KyungseogOh/solbase"
For more detail visig
https://github.com/Photobucket/Solbase
http://www.slideshare.net/KyungseogOh/solbase
Local File ====== File Copy =======> hdfs file system
Create a project in eclipse or netbeans or any editor you like and add hadoop-core.jar and create a class named PutToHdfs and put this code
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.URI;
import java.net.URISyntaxException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdfs.DistributedFileSystem;
/**
*
*
* @author shashwat
*/
public class PutToHdfs {
object.1. ssh-keygen -t rsa -P ""
-> this will generate key pair file in the current user .ssh folder
-> which is in home folder of user just press ctrl + h to show hidden files
-> after giving this command just keep pressing enter dont enter file name or so
it will show -> Generating public/private rsa key pair.
Enter file in which to save the key -> just press enter on this.
after this you will get the shell prompt back there you type
2. cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
-> this will create authorized_keys in .ssh folder and put your public key in that so that
-> you just type ssh localhost it will login to localhost without asking the password.
scp — Secure Copy — is one of the simplest ways to transfer files and directories between Linux machines over an SSH connection. If you w...