GithubHelp home page GithubHelp logo

sciserver / graywulf Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 17 MB

Database cluster federation toolkit

C# 92.86% CSS 0.61% ASP 5.78% JavaScript 0.43% PLpgSQL 0.07% PowerShell 0.19% SQLPL 0.05%

graywulf's People

Contributors

beckrob avatar deoyani avatar dobos avatar ebanyai avatar horvatferi avatar slaki avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graywulf's Issues

execute query gives error message but actually completes

if i "execute" this query:
select top 14 *
from SDSSDR12:dbo.Field

the jobs tab says "failed:"
sue99_16110914402908437 Query 11/9/2016 2:40:29 PM 11/9/2016 2:40:18 PM 11/9/2016 2:40:20 PM failed

and the error says:
Cannot find the object "MYDB_1544479622.webuser.Results_4" because it does not exist or you do not have permissions.

but if i go to my mydb I see a table "Results_3" with 14 rows from the field table.

MYDB:webuser.Results_3	14	72 kB	0 B	

so it looks like it's just looking for the wrong table name?

peek and query fails on DR12 detectionIndex

in SDSSDR12, if you select "detectionIndex" in schema browser, peek fails with the error Invalid object name 'SkyNode_SDSSDR12.dbo.detectionIndex'.

also if you run the query
select top 10 * from SDSSDR12:dbo.detectionIndex

it fails with An exception occured: Invalid object name 'SkyNode_SDSSDR12.dbo.detectionIndex'.

Cursor is wrong shape when hovering over menu links

When you mouseover the top menu (Home | Schema | etc.), the mouse pointer is an arrow, as it should be. But when you mouseover the words (links), the pointer changes to the select thingy (the thin line with tabs at the top and bottom, I don't know what it's called).

It should change into a pointy-fingered-hand instead.

Partitioned queries perform badly due to limits passed as decimal instead of actual data type of the column.

Bad:

SELECT TOP 100 [a].[objID] AS [a_objID], [a].[ra] AS [a_ra], [a].[dec] AS [a_dec]
FROM [SkyNode_SDSSDR7].[dbo].[PhotoObjAll] [a]
WHERE (5.88017724408333E+17 <= [a].[objID] AND [a].[objID] < 7.58874293699022E+17)

Good:

SELECT TOP 100 [a].[objID] AS [a_objID], [a].[ra] AS [a_ra], [a].[dec] AS [a_dec]
FROM [SkyNode_SDSSDR7].[dbo].[PhotoObjAll] [a]
WHERE (588017724408333 <= [a].[objID] AND [a].[objID] < 758874293699022)

SkyQuery: Export to SciDrive

I picked a table in MyDB. and selected Export to SciDrive.

It failed in SkyQuery with the error below BUT a file was written in SciDrive with column headers but no data. (failed for txt, csv, xhtml, votable, BUT worked for FITS)

Error details

The following message might contain useful information on why the job failed.

Error message: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
If you think this error is due to a bug in the system, please send an inquiry to the system administrator.

SkyQuery Broken Link to API

I accessed the API page.

I clicked the "Data", "Jobs", "Schema" and "Test" links.

I got this:

Server Error in '/skyquery' Application.

This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item]
System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item) +7483414
System.Collections.Generic.SynchronizedCollection`1.Add(T item) +78
System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses) +90
System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +270
System.ServiceModel.Activation.WebServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +42
System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1849
System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +66
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +738

[ServiceActivationException: The service '/skyquery/Api/V1/Data.svc' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item.]
System.Runtime.AsyncResult.End(IAsyncResult result) +604003
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +238
System.ServiceModel.Activation.ServiceHttpModule.EndProcessRequest(IAsyncResult ar) +437044
System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +116

Peeking tables in databases other than MyDB does not work correctly

For example, I tried GALEX:dbo.PhotoExtract. The columns header appear, but the content rows do not show.
I run a "select top 10 * from GALEX:dbo.PhotoExtract" as a "quick execute" and the table shows with no problem. However, if I run it as a "execute", then I get the following error:

Cannot find the object "MYDB_1727612173.webuser.Results_1" because it does not exist or you do not have permissions.

Test other methods of file copy

eseutil seems to cause extreme IO/sec, simpler copy tools might be better
add option to use: File.Copy, robocopy, xcopy, FDT(?)

cancelling job shows unknown

if you cancel a job, jobs table says status: unknown, and then later it says "failed".
it would be better if it said "cancelling" instead of unknown.

Importing a file not working correctly.

When I try to upload the file MyUpload.txt containing:

1,1,2
2,3,4
4,3,2

and choose the automatic file detection, what happens is that the resulting table appears with a datetime column:

ID bigint 1,1,2 datetime2
1 2/3/2004 12:00:00 AM
2 4/3/2002 12:00:00 AM

It works if choose the file format as csv.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.