Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for SetNodeName (0.05 seconds)

  1. cmd/consolelogger.go

    	}
    }
    
    // IsOnline always true in case of console logger
    func (sys *HTTPConsoleLoggerSys) IsOnline(_ context.Context) bool {
    	return true
    }
    
    // SetNodeName - sets the node name if any after distributed setup has initialized
    func (sys *HTTPConsoleLoggerSys) SetNodeName(nodeName string) {
    	if !globalIsDistErasure {
    		sys.nodeName = ""
    		return
    	}
    
    	host, err := xnet.ParseHost(globalLocalNodeName)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java

        @Setup
        public void setup() throws IOException {
            Path path = Files.createTempDirectory("test");
            nodePath = new NodeEnvironment.NodePath(path);
    
            LogConfigurator.setNodeName("test");
            Settings settings = Settings.builder()
                .put(Environment.PATH_HOME_SETTING.getKey(), path)
                .put(Environment.PATH_DATA_SETTING.getKey(), path.resolve("data"))
                .build();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 27 15:29:12 GMT 2021
    - 3K bytes
    - Click Count (0)
Back to Top