Hi,
Is there some change happended in elastic java api in  2.* version ? 
I was trying the below code in 1.7 and was working fine
Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name","navneet").build(); 
TransportClient client = new TransportClient(settings).addTransportAddress(new InetSocketTransportAddress("localhost", 9300));
 
But in elastic 2.1 it is throwing an error saying that  :-
org.elasticsearch.transport.NodeDisconnectedException:  [inet[localhost/127.0.0.1:9300]]
 
I think issue with the latest jars, any suggestion ?
Thanks
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    December 18, 2015, 11:22am
                   
                   
              2 
               
             
            
              A lot of changes yes. Not only in the java client.
But this should work I think unless you changed some elasticsearch.yml settings.
Actually, everything works fine for me locally.
             
            
               
               
               
            
            
           
          
            
            
              I have not changed much in  elastic.yml apart from node_name : Master-Node and Master : true 
and I have only one master node running as of now..
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    December 18, 2015, 11:46am
                   
                   
              4 
               
             
            
              what about the cluster name?
             
            
               
               
               
            
            
           
          
            
            
              Yes , I had changed it to navneet
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    December 18, 2015, 12:37pm
                   
                   
              6 
               
             
            
              Did you change anything else?
Can you share the node logs?