由于没有这样的文件或目录,无法打开文件C:\ Cassandra / logs / gc.log

时间:2018-01-05 18:48:46

标签: python-3.x cassandra garbage-collection powershell-v3.0 cassandra-3.0

在Windows中安装Cassandra时,我面临以下问题。我试着在论坛上搜索但没有运气。

以下是我尝试安装Cassandra时执行的步骤:

  1. 将解压缩的Cassandra文件放在C:\ Cassandra文件夹下。
  2. 在系统变量设置中将Java 1.8的环境变量条目设置为JAVA_HOME,将Python 3.6.2设置为Path,将Cassandra 3.11.1设置为CASSANDRA_HOME
  3. 当我尝试在CMD终端上运行Cassandra时,它给出了以下错误:

    Detected powershell execution permissions.  Running with enhanced startup
    scripts.
    *---------------------------------------------------------------------*
    *---------------------------------------------------------------------*
    
        WARNING!  Automatic page file configuration detected.
        It is recommended that you disable swap when running Cassandra
        for performance and stability reasons.
    
    *---------------------------------------------------------------------*
    *---------------------------------------------------------------------*
    Failed 64-bit check. Re-running to get version from 32-bit
    *---------------------------------------------------------------------*
    *---------------------------------------------------------------------*
    
        WARNING! Detected a power profile other than High Performance.
        Performance of this node will suffer.
        Modify conf\cassandra.env.ps1 to suppress this warning.
    
    *---------------------------------------------------------------------*
    *---------------------------------------------------------------------*
    Java HotSpot(TM) Client VM warning: Cannot open file C:\Cassandra/logs/gc.log
    due to No such file or directory
    
    Error occurred during initialization of VM
    Could not reserve enough space for 2097152KB object heap
    

0 个答案:

没有答案