删除googleApp中未使用的索引

时间:2013-10-27 07:09:48

标签: google-app-engine indexing

我尝试通过命令appcfg.sh vacuum_indexes [path_to_app]删除我为某些测试目的创建的未使用的索引。当我运行其他命令如update时,一切都很顺利但是这个特定的命令会导致以下异常:

com.google.appengine.tools.admin.AdminException: Unable to perform vacuum_indexes
    at com.google.appengine.tools.admin.AppAdminImpl.vacuumIndexes(AppAdminImpl.java:346)
    at com.google.appengine.tools.admin.AppCfg$VacuumIndexesAction.execute(AppCfg.java:1605)
    at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:327)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:210)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:121)
    at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:117)
Caused by: com.google.apphosting.utils.config.AppEngineConfigException: Line 0, column 12: Unable to find property 'application' on class: com.google.apphosting.utils.config.IndexYamlReader$IndexYaml
    at com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:158)
    at com.google.appengine.tools.admin.IndexDeleter.diffIndexesOnServer(IndexDeleter.java:72)
    at com.google.appengine.tools.admin.IndexDeleter.deleteUnusedIndexes(IndexDeleter.java:186)
    at com.google.appengine.tools.admin.AppAdminImpl.vacuumIndexes(AppAdminImpl.java:342)
    ... 5 more
Caused by: com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader$YamlReaderException: Line 0, column 12: Unable to find property 'application' on class: com.google.apphosting.utils.config.IndexYamlReader$IndexYaml
    at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.readValueInternal(YamlReader.java:259)
    at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.readValue(YamlReader.java:150)
    at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.read(YamlReader.java:106)
    at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.read(YamlReader.java:91)
    at com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:203)
    at com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:156)
    ... 8 more

可能是什么原因?

1 个答案:

答案 0 :(得分:2)

我们正在努力解决这个问题。请继续关注。