cloudera / hue

Open source SQL Query Assistant service for Databases/Warehouses
https://cloudera.com
Apache License 2.0
1.17k stars 366 forks source link

ERROR: OperationalError at /notebook/notebook #292

Closed shijinkui closed 8 years ago

shijinkui commented 8 years ago

http://localhost:8000/notebook/notebook?notebook=5

OperationalError at /notebook/notebook
database is locked
Request Method: GET
Request URL:    http://localhost:8000/notebook/notebook?notebook=5
Django Version: 1.6.10
Exception Type: OperationalError
Exception Value:    
database is locked
Exception Location: /Users/sjk/workspace/github/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/db/backends/__init__.py in _commit, line 139
Python Executable:  /Users/sjk/workspace/github/hue/build/env/bin/python2.7
Python Version: 2.7.10
Python Path:    
['/Users/sjk/workspace/github/hue/build/env/bin',
 '/Users/sjk/workspace/github/hue/apps/about/src',
 '/Users/sjk/workspace/github/hue/apps/beeswax/src',
 '/Users/sjk/workspace/github/hue/apps/filebrowser/src',
 '/Users/sjk/workspace/github/hue/apps/hbase/src',
 '/Users/sjk/workspace/github/hue/apps/help/src',
 '/Users/sjk/workspace/github/hue/apps/impala/src',
 '/Users/sjk/workspace/github/hue/apps/jobbrowser/src',
romainr commented 8 years ago

database is locked, means you got a deadlock with sqlite, so just retry or move the Hue DB to Mysql of Postgres