Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2254

The shell script should be optimized , even kafka-run-class.sh has a syntax error.

    XMLWordPrintableJSON

Details

    Description

      kafka-run-class.sh 128 line has a syntax error(missing a space):
      127 -loggc)
      128 if [ -z "$KAFKA_GC_LOG_OPTS"] ; then
      129 GC_LOG_ENABLED="true"
      130 fi

      And use the ShellCheck to check the shell scripts, the results shows some errors 、 warnings and notes:
      https://github.com/koalaman/shellcheck/wiki/SC2068
      https://github.com/koalaman/shellcheck/wiki/Sc2046
      https://github.com/koalaman/shellcheck/wiki/Sc2086

      Attachments

        Activity

          People

            omkreddy Manikumar
            wangbo23 Bo Wang
            Joe Stein Joe Stein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified