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

control.sh --cache idle_verify --dump --host 'hostname' creates a dump file on a random host if param --host is the hostname

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • control.sh
    • Docs Required, Release Notes Required

    Description

      control.sh --cache idle_verify --dump --host 'hostname' creates a dump file on a random host if param --host is the hostname

      if param --host is the ip-address, then the file will be on the node whose ip-address was transferred

      the behavior of the control utility(control.sh) should be the same when passing the ip-address and hostname as a parameter --host

      Console output

      ducker@ducker03:/opt/ignite-2.9.0$ ./bin/control.sh --cache idle_verify --dump --host ducker02
      Failed to configure logging to file
      Control utility [ver. 2.9.0#20201015-sha1:70742da8]
      2020 Copyright(C) Apache Software Foundation
      User: ducker
      Time: 2021-02-16T15:09:47.009
      Command [CACHE] started
      Arguments: --cache idle_verify --dump --host ducker02
      --------------------------------------------------------------------------------
      VisorIdleVerifyDumpTask successfully written output to '/mnt/service/work/idle-dump-2021-02-16T15-09-47_478.txt'
      idle_verify task was executed with the following args: caches=[], excluded=[], cacheFilter=[DEFAULT]

      Command [CACHE] finished with code: 0
      Control utility has completed execution at: 2021-02-16T15:09:47.552
      Execution time: 543 ms
      ducker@ducker03:/opt/ignite-2.9.0$ ssh ducker02 ls -la /mnt/service/work/idle-dump-2021-02-16T15-09-47_478.txt
      ls: cannot access '/mnt/service/work/idle-dump-2021-02-16T15-09-47_478.txt': No such file or directory
      ducker@ducker03:/opt/ignite-2.9.0$ ./bin/control.sh --cache idle_verify --dump --host 172.21.0.3
      Failed to configure logging to file
      Control utility [ver. 2.9.0#20201015-sha1:70742da8]
      2020 Copyright(C) Apache Software Foundation
      User: ducker
      Time: 2021-02-16T15:10:30.156
      Command [CACHE] started
      Arguments: --cache idle_verify --dump --host 172.21.0.3
      --------------------------------------------------------------------------------
      VisorIdleVerifyDumpTask successfully written output to '/mnt/service/work/idle-dump-2021-02-16T15-10-30_584.txt'
      idle_verify task was executed with the following args: caches=[], excluded=[], cacheFilter=[DEFAULT]

      Command [CACHE] finished with code: 0
      Control utility has completed execution at: 2021-02-16T15:10:30.641
      Execution time: 485 ms
      ducker@ducker03:/opt/ignite-2.9.0$ ssh ducker02 ls -la /mnt/service/work/idle-dump-2021-02-16T15-10-30_584.txt
      rw-rr- 1 ducker ducker 253093 Feb 16 15:10 /mnt/service/work/idle-dump-2021-02-16T15-10-30_584.txt
      ducker@ducker03:/opt/ignite-2.9.0$

      Attachments

        Activity

          People

            Unassigned Unassigned
            RyzhovSV Sergei Ryzhov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: