Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14782

.NET: If bash not installed on pod, ignite fails to start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10
    • 2.11
    • clients, platforms
    • .NET: Removed the requirement to have bash installed on Linux and macOS systems
    • Release Notes Required

    Description

      If bash is not installed, you get the following exception on startup:

      System.TypeInitializationException: The type initializer for 'Apache.Ignite.Core.Impl.Unmanaged.Jni.JvmDll' threw an exception.
       ---> System.TypeInitializationException: The type initializer for 'Apache.Ignite.Core.Impl.Unmanaged.Os' threw an exception.
       ---> System.ComponentModel.Win32Exception (2): No such file or directory
         at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
         at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
         at System.Diagnostics.Process.Start()
         at Apache.Ignite.Core.Impl.Shell.Execute(String file, String args)
         at Apache.Ignite.Core.Impl.Shell.BashExecute(String args)
         at Apache.Ignite.Core.Impl.Unmanaged.Os..cctor()
         --- End of inner exception stack trace ---
         at Apache.Ignite.Core.Impl.Unmanaged.Os.get_IsWindows()
         at Apache.Ignite.Core.Impl.Unmanaged.Jni.JvmDll..cctor()
         --- End of inner exception stack trace ---
         at Apache.Ignite.Core.Impl.Unmanaged.Jni.JvmDll.Load(String configJvmDllPath, ILogger log)
         at Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)
      

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              rakker91 Robert May
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m