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

No need to initialize BinaryMetadata working directory for client mode.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      While node starts with client mode and pds enabled, it still tries to get access to lfs working directory in BinaryMetadataFileStore if no access granted it will fail with exception

      Caused by: class org.apache.ignite.IgniteCheckedException: Cannot write to directory: /path/to/lfs/grid_name
       at org.apache.ignite.internal.util.IgniteUtils.resolveWorkDirectory(IgniteUtils.java:9128)
       at org.apache.ignite.internal.processors.cache.persistence.filename.PdsConsistentIdProcessor.resolvePersistentStoreBasePath(PdsConsistentIdProcessor.java:453)
       at org.apache.ignite.internal.processors.cache.persistence.filename.PdsConsistentIdProcessor.prepareNewSettings(PdsConsistentIdProcessor.java:157)
       at org.apache.ignite.internal.processors.cache.persistence.filename.PdsConsistentIdProcessor.resolveFolders(PdsConsistentIdProcessor.java:137)
       at org.apache.ignite.internal.processors.cache.binary.BinaryMetadataFileStore.<init>(BinaryMetadataFileStore.java:73)
       at org.apache.ignite.internal.processors.cache.binary.CacheObjectBinaryProcessorImpl.start(CacheObjectBinaryProcessorImpl.java:160)
       at org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1897)
      

        Attachments

          Activity

            People

            • Assignee:
              sergey-chugunov Sergey Chugunov
              Reporter:
              zstan Stanilovsky Evgeny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: